note 75935 added to function.dom-domdocument-getelementsbytagname
| From: | nmajithia at sovereign-plc dot co dot uk | Date: | Fri, 22 Jun 2007 09:20:04 +0000 |
| Subject: | note 75935 added to function.dom-domdocument-getelementsbytagname | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-127884@lists.php.net to get a copy of this message | ||
Hi,
I am using this to extract data from an xml file but for some reason it is skipping over the second
occurance of the element. It mananges to pick up the first and every one of them after the second.
But I have no idea why it would skip the second.
The thing which is even more strange is that if I enter a duplicate of the first tag and text nodes,
only then will it pick up all the intended tags. (ie it skips the second tag which is now a
duplicate)
Can anyone help?
Thanks
----
Server IP: 69.147.83.197
Probable Submitter: 91.143.79.252 (proxied: 17.0.24.1)
----
Manual Page -- http://www.php.net/manual/en/function.dom-domdocument-getelementsbytagname.php
Edit -- https://master.php.net/note/edit/75935
Del: integrated -- https://master.php.net/note/delete/75935/integrated
Del: useless -- https://master.php.net/note/delete/75935/useless
Del: bad code -- https://master.php.net/note/delete/75935/bad+code
Del: spam -- https://master.php.net/note/delete/75935/spam
Del: non-english -- https://master.php.net/note/delete/75935/non-english
Del: in docs -- https://master.php.net/note/delete/75935/in+docs
Del: other reasons-- https://master.php.net/note/delete/75935
Reject -- https://master.php.net/note/reject/75935
Search -- https://master.php.net/manage/user-notes.php