DOMDocument->saveXML()
| From: | Chris Boget | Date: | Sun, 17 Sep 2006 20:48:45 +0000 |
| Subject: | DOMDocument->saveXML() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-241873@lists.php.net to get a copy of this message | ||
I looked all through the documentation but was unable to find out if this was possible and, if so, how. When you call ->saveXML(), it prints out the XML declaration <?xml version="1.0"?> alont with the structure of the document. Is there any way to suppress that? I'm trying to print out extra text (in the form of a stylesheet call) and the declaration that ->saveXML() prints out is messing everything up.
Would it be possible to point to the relevant page in the documentation that discusses how to do this?
thnx,
Chris