Setting aside the fact that I can't seem to keep myself from responding to list messages prior to RTFM (honestly, I knew that the Document can, along with a single Element, have Comments, PIs, and a DocumentType -- I just glazed over that stuff), the Level 2 DOM still doesn't provide for a Document Declaration node. So if an implementation wanted the Document to provide access to the XMLDecl version attribute, it would have to implement an extension. Correct? -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Christopher Watson Sr. Software Engineer Lightspan, Inc. http://www.lightspan.com/ -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -----Original Message----- From: Joseph Kesselman [mailto:keshlam@us.ibm.com] Sent: Thursday, March 22, 2001 7:01 AM To: 'www-DOM@w3.org' Subject: 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
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:24:52 GMT