xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arnaud Le Hors <leh...@us.ibm.com>
Subject Re: Question about document type nodes and JAXP
Date Tue, 17 Oct 2000 16:17:44 GMT
Eric Hodges wrote:
> 
> I'll probably change our design so that DocumentType isn't a node at all,
> but an attribute of Document.  I guess I was misled by the fact that in DOM,
> DocumentType extends Node.

DocumentType IS a Node. And it should be found as a child node of the
Document. The read only attribute documentType on Document is simply a
shortcut to access it.
-- 
Arnaud  Le Hors - IBM Cupertino, XML Technology Group

Mime
View raw message