PHP Manual
DOMDocument->save()
(no version information, might be only in CVS)
DOMDocument->save() -- Dumps the internal XML tree back into a fileDescription
class DOMDocument {mixed save ( string filename [, 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
filenameThe path to the saved XML 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




