note 65657 deleted from ref.simplexml by danbrown

From: Date: Mon, 18 May 2009 01:25:44 +0000
Subject: note 65657 deleted from ref.simplexml by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-155534@lists.php.net to get a copy of this message
Note Submitter: JaskaS ---- More new stuff. <?php $xml = " <test></test> "; $xml = simplexml_load_string($xml); $xml->addChild('new','value','namespace'); echo $xml->asXml(); ?> output: <?xml version="1.0"?> <test><new xmlns="namespace">value</new></test> Very nice and clean. DOM is so awkward compared to this.

« previous php.notes (#155534) next »