W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2001

Re: XML version number via DOM

From: Martijn Pieters <mj@digicool.com>
Date: Thu, 22 Mar 2001 15:55:56 +0100
To: "Watson, Christopher" <CWatson@lightspan.com>
Cc: "'www-DOM@w3.org'" <www-DOM@w3.org>
Message-ID: <20010322155556.A5990@zopatista.com>
On Thu, Mar 22, 2001 at 06:41:53AM -0800, Watson, Christopher wrote:
> Again, we're talking about implementation instead of specification, but as
> far as I know, the XMLDecl is not a child of any parent. The Document is
> only supposed to have one child, right? The document element.

There can be more than one child Node. There can be only 1 *Element* Node.
Document Nodes can also have Comment and ProcessingInstruction Nodes and
at most one DocumentType Node.

Martijn Pieters
| Software Engineer  mailto:mj@digicool.com
| Digital Creations  http://www.digicool.com/
| Creators of Zope   http://www.zope.org/
Received on Thursday, 22 March 2001 09:56:06 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:08 UTC