Re: getElementById question

From: Date: Fri, 02 Jul 2004 08:40:20 +0000
Subject: Re: getElementById question
References: 1 2 3 4 5 6 7  Groups: php.xml.dev 
Request: Send a blank email to php-xml-dev+get-404@lists.php.net to get a copy of this message
Me again... I summed up the whole problem and solutions to it at http://wiki.bitflux.org/GetElementById_Pitfalls If you have additions, just add them.. chregu On 2.7.2004 0:24 Uhr, Christian Stocker wrote:
On 30.6.2004 12:22 Uhr, Christian Stocker wrote:
On 30.6.2004 12:08 Uhr, Jirka Kosek wrote:
Christian Stocker wrote:
There is no default ID attribute defined in a plain XML document. You have to give this information. I don't have any additional information about that, google it or look it up somewhere at W3C.
AFAIK the recent releases of libxml2 supports xml:id attribute. Such attribute is considered as ID even when there is no DTD declaration for such attribute.
if so, then PHP will support that as well. Will test later..
Yes it works ;) You have to use libxml2 2.6.9 for making it work. chregu
chregu
-- christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich phone +41 1 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71 http://www.bitflux.ch | chregu@bitflux.ch | gnupg-keyid 0x5CE1DECB

« previous php.xml.dev (#404) next »