note 106847 deleted from simplexmlelement.addchild by danbrown

From: Date: Tue, 03 Jan 2012 22:16:25 +0000
Subject: note 106847 deleted from simplexmlelement.addchild by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-185345@lists.php.net to get a copy of this message
Note Submitter: Anonymous ---- The method of appending children described below does not work, attributes of appended children are lost. The output should be: <root name="toplevel"><child pos="1">alpha</child><child pos="2">beta</child><child pos="3">gamma</child></root> The actual output: <root name="toplevel"><child>alpha</child><child>beta</child><child>gamma</child></root>

« previous php.notes (#185345) next »