note 70256 added to ref.xml
| From: | Rattus at osu1 dot php dot net | Date: | Mon, 09 Oct 2006 00:14:25 +0000 |
| Subject: | note 70256 added to ref.xml | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-118231@lists.php.net to get a copy of this message | ||
I just tested the version of "xml2array" posted by "aaron dot henderson at gmail dot
com" on 08-Oct-2006 07:57 without success. It still appears to fail on child-nodes with the
same name as the parent node. (also it didn't parse attributes of the child nodes correctly).
Here is my test XML file:
<test>
This is a test
<node Attr1="A" Attr2="B">
This is a node
<id1>1</id1>
<title>Node 1</title>
<blank></blank>
<id2>1</id2>
<node Attr1="C" Attr2="D">
This is a child node with the same name
<id1>1</id1>
<title>Node 1</title>
<blank></blank>
<id2>1</id2>
</node>
</node>
</test>
----
Server IP: 203.202.10.60
Probable Submitter: 218.215.0.156
----
Manual Page -- http://www.php.net/manual/en/ref.xml.php
Edit -- https://master.php.net/note/edit/70256
Del: integrated -- https://master.php.net/note/delete/70256/integrated
Del: useless -- https://master.php.net/note/delete/70256/useless
Del: bad code -- https://master.php.net/note/delete/70256/bad+code
Del: spam -- https://master.php.net/note/delete/70256/spam
Del: non-english -- https://master.php.net/note/delete/70256/non-english
Del: in docs -- https://master.php.net/note/delete/70256/in+docs
Del: other reasons-- https://master.php.net/note/delete/70256
Reject -- https://master.php.net/note/reject/70256
Search -- https://master.php.net/manage/user-notes.php