note 101673 deleted from class.xmlreader by danbrown
| From: | danbrown@php.net | Date: | Tue, 04 Jan 2011 00:18:57 +0000 |
| Subject: | note 101673 deleted from class.xmlreader by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-175434@lists.php.net to get a copy of this message | ||
Note Submitter: Cecil
----
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!