Re: [PHP-XML-DEV] getElementById question

[email protected] (Christian Stocker) Fri, 02 Jul 2004 00:24:32 +0200
Newsgroups php.xml.dev
Message-ID <[email protected]>

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  |  [email protected]  |  gnupg-keyid 0x5CE1DECB