RE: XML version number via DOM

>The Document is only supposed to have one child, right? The document
element.

The Document may also contain a DocumentType node, and
ProcessingInstructions, and Comments. See the table of legal children in
the DOM spec.

______________________________________
Joe Kesselman  / IBM Research

Received on Thursday, 22 March 2001 10:00:41 UTC