Parent node
The node that is nearest up in the XML hierarchy. In the following example:
-
the parent of the
<paragraph>is<article>; -
the parent of the
hrefattribute is<link>; -
the parent of
<article>is the "document node"
<?xml version="1.0"?>
<article>
<paragraph>The quick <link href="http://getfirefox.com">Firefox</link>
jumps over the lazy dog.</paragraph>
</article>
- Documentation
- › Parent node