- From: Watson, Christopher <CWatson@lightspan.com>
- Date: Thu, 22 Mar 2001 09:39:31 -0800
- To: "'WWW-DOM List'" <www-DOM@w3.org>
- Message-ID: <92976FF84DEAD41191930002A52CF7A247B36B@exchange.lightspan.com>
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
Received on Thursday, 22 March 2001 12:40:11 UTC