|
|
|
|
|
|
| |
   
parentNode
Is a member of:
|
DOMDocument
XMLDOMNode
XMLDOMAttribute
XMLDOMCDATASection
XMLDOMComment
XMLDOMDocumentFragment
XMLDOMDocumentType
XMLDOMElement
XMLDOMEntity
XMLDOMEntityReference
XMLDOMNotation
XMLDOMProcessingInstruction
XMLDOMText
XTLRuntime
|
Syntaxset objXMLDOMNode = objXMLDOMNode.parentNode
RemarkThis property is read-only. Whereas the ownerDocument object returns the root of the document, the parentNode returns the parentNode for the current Node. All Nodes except Document, DocumentFragment, and Attribute Nodes can have a
parentNode.
When we create a Node and it has not yet been added to the tree-or if it has been removed from the tree-the parent is NULL. (See the createNode() or createElement() methods later in this section for more information on how to do this.)    
This manuscript is an abridged version of a chapter
from the Manning
Publications book XML
Programming with VB and ASP. This chapter looks at the Microsoft DOM objects. NOTE: Most images have been removed to increase speed and many of the code comments have also been removed for presentation. Please purchase the book to enjoy the full experience of all the chapters with images and code comments!
|
|
|
|
|
|
|
|