Recently the function domxml_get_element_by_id was changed from
using an xpath query //*[@ID = '%s'] to actually using the ID hash
from the DTD, which makes perfect sense. But for the following
string:
<!DOCTYPE doc [ <!ATTLIST child id ID #REQUIRED> ]>
<doc>
<child id="2">foo</child>
<child id="4">
<entry>foo</entry>
<title>hey there</title>
</child>
</doc>
I get for $xml->ids() a list nodeset of 2 nodes, but nothing for
$xml->get_element_by_id("4");
Broken?
Dan
--
________________________________________________________________
Daniel Allen, <[EMAIL PROTECTED]>
http://www.mojavelinux.com/
________________________________________________________________
Real programmers don't change their wardrobe too often: there
are no clothes stores that are open at two o'clock in the morning.
________________________________________________________________
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php