Node Object
The parentNode property returns the parent node of a node.
The following code fragment loads "books.xml" into xmlDoc using loadXMLDoc() and returns the parent node of the first <title> element:
The output of the code above will be:
Node Object
Your message has been sent to W3Schools.