asXPathResult
returns a version of this node which is capable of being an XPath result. The result of an XPath expression should always support the parent relationship, whether the original XML tree was singly or doubly linked. If the node does not support the parent relationship then a new node will be created which is linked to its parent and returned.
Node
which supports the parent relationship
|
|
|
|
|
|
|
|
|
|
|
|
|
|