PHP Manual
DOMDocument->saveXML()
(no version information, might be only in CVS)
DOMDocument->saveXML() -- Dumps the internal XML tree back into a stringDescription
class DOMDocument {string saveXML ( [DOMNode node [, int options]] )
}
Creates an XML document from the DOM representation. This function is usually called after building a new dom document from scratch as in the example below.
Parameters
nodeUse this parameter to output only a specific node without XML declaration rather than the entire document.
optionsAdditional Options. Currently only LIBXML_NOEMPTYTAG is supported.
Examples
Support PHPRO.ORG
Search
PHPRO.ORG Poll
Warning: Participation in PHPRO.ORG polls may incorrectly lead you to believe your opinions matter.

RSS Feed




