note 101673 added to class.xmlreader
| From: | Cecil at osu1 dot php dot net | Date: | Mon, 03 Jan 2011 23:54:14 +0000 |
| Subject: | note 101673 added to class.xmlreader | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-175433@lists.php.net to get a copy of this message | ||
Not sure if this is related to what Mr Japos showed us below but I've noticed that tags that
aren't of the <nesting></nesting> type, ie: <tag attr="value" />
ends up being considered nested by the parser - or so it seems to me anyways.
Using the example Mr. Jart gave us, my XML data I downloaded from AdWords ended up being one huge
array with indexes numbering (# of elements * attributes) long. Where every single row, ended up
appeneing to the previous row. Very frustrating to say the least till you figure out whats going on.
So just some words to the wise. :)
Namaste!
----
Server IP: 208.69.120.55
Probable Submitter: 75.135.220.211
----
Manual Page -- http://www.php.net/manual/en/class.xmlreader.php
Edit -- https://master.php.net/note/edit/101673
Del: integrated -- https://master.php.net/note/delete/101673/integrated
Del: useless -- https://master.php.net/note/delete/101673/useless
Del: bad code -- https://master.php.net/note/delete/101673/bad+code
Del: spam -- https://master.php.net/note/delete/101673/spam
Del: non-english -- https://master.php.net/note/delete/101673/non-english
Del: in docs -- https://master.php.net/note/delete/101673/in+docs
Del: other reasons-- https://master.php.net/note/delete/101673
Reject -- https://master.php.net/note/reject/101673
Search -- https://master.php.net/manage/user-notes.php