Re: [PHP-XML-DEV] getElementById question
[email protected] (Christian Stocker) Wed, 26 May 2004 10:33:27 +0200
| Newsgroups | php.xml.dev |
|---|---|
| Message-ID | <[email protected]> |
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 | [email protected] | gnupg-keyid 0x5CE1DECB