Load and Save of XML Documents
Output of domloadandsave.php:
<?xml version="1.0" encoding="iso-8859-1"?> <books xmlns:dc="http://purl.org/dc/elements/1.1/"> <!-- This is a comment --> <book id="1" isbn="3-8266-0612-4"> <title>Apache Web-Server</title> <year>2000</year> <dc:subject>Webserver</dc:subject> </book> <book id="2" isbn="3-8266-0550-0"> <title>Linux für Internet und Intranet</title> <year>2000</year> <dc:subject>Operating Systems</dc:subject> </book> <?php print "this is a processing instruction"; ?> </books>
 
accessing node from DomDocument © copyright 2004  Bitflux GmbH