Re: getElementById question

From: Date: Wed, 26 May 2004 08:33:27 +0000
Subject: Re: getElementById question
References: 1 2 3  Groups: php.xml.dev 
Request: Send a blank email to php-xml-dev+get-378@lists.php.net to get a copy of this message
On 26.5.2004 10:08 Uhr, Bernhard Zwischenbrugger wrote:
Hi again
No, this is the correct behaviour.
If I use getElementById in SVG or HTML Javascript it works without <!DOCTYPE...
they have internal predefined doctypes...
I'm teaching DOM using PHP5. I have to tell my students the reason of this - but at the moment I can't. Can you give some additional information about this?
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. 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 (#378) next »