[XML-SIG] DOM seems incomplete
Markus Jostock
markus.jostock at softwareag.com
Tue Aug 10 14:48:53 CEST 2004
Andrew Clover wrote:
> doc.firstChild is not what you might expect:
>
> print doc.firstChild
> <DocumentType Node at b59d50: Name='MYXML' with [no children]>
Now that's interesting! And exactly what I see too.
>> Where are my children gone?
>
>
> In doc.documentElement.childNodes.
You are right! I found them exactly there :-D
I would never have found this myself.
Thanks a lot!
Markus
More information about the XML-SIG
mailing list