note 75926 added to function.dom-domelement-getelementsbytagname

From: Date: Thu, 21 Jun 2007 16:21:45 +0000
Subject: note 75926 added to function.dom-domelement-getelementsbytagname
Groups: php.notes 
Request: Send a blank email to php-notes+get-127872@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-domelement-getelementsbytagname.php Edit -- https://master.php.net/note/edit/75926 Del: integrated -- https://master.php.net/note/delete/75926/integrated Del: useless -- https://master.php.net/note/delete/75926/useless Del: bad code -- https://master.php.net/note/delete/75926/bad+code Del: spam -- https://master.php.net/note/delete/75926/spam Del: non-english -- https://master.php.net/note/delete/75926/non-english Del: in docs -- https://master.php.net/note/delete/75926/in+docs Del: other reasons-- https://master.php.net/note/delete/75926 Reject -- https://master.php.net/note/reject/75926 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#127872) next »