DOM Structure Question

[ Lists Home | Date Index | Thread Index ]

Hi,

In a DOM representing an XML document without the following Node types:

CDATASection
Comment
DocumentFragment
DocumentType
Entity
EntityReference
Notation
ProcessingInstruction

Is it safe to assume that the parent of an Element node (that is not the
root element) is also an Element node?  Thanks.

Peter





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS