[Home] [By Thread] [By Date] [Recent Entries]
Hi, To further clarify, the Element node is still attached to the DOM tree, so its parent node cannot be null. Would really appreciate your input on this. Thanks. Peter > -----Original Message----- > From: Peter Loh Yoon Chao [mailto:yoonchao@s...] > Sent: Wednesday, March 03, 2004 8:19 PM > To: xml-dev@l... > Subject: DOM Structure Question > > > 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
|

Cart



