note 60070 deleted from ref.xml by bjori

From: Date: Mon, 09 Oct 2006 10:52:55 +0000
Subject: note 60070 deleted from ref.xml by bjori
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-118241@lists.php.net to get a copy of this message
Note Submitter: sander at gameqube dot nl ---- There is flaw in the xml2array function of aerik. It can extract several different nodes with the same name, but a child element with the same name as the parent will go wrong. For example: <root> <element> <element>2</element> </element> </root> The value of the first 'element' attribute will be '<element>2'. This is not easily solved and personaly I didn't find a solution for this. The problem lies in the use of the regular expression for parsing the xml document, so beware of this drawback when using this method.

« previous php.notes (#118241) next »