[Home] [By Thread] [By Date] [Recent Entries]

  • To: <xml-dev@l...>
  • Subject: DOM Structure Question
  • From: "Peter Loh Yoon Chao" <yoonchao@s...>
  • Date: Wed, 3 Mar 2004 20:18:43 +0800
  • Importance: Normal

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


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member