SYNOPSISxmlNode xmlTreeGetParent(xmlNode node)
Parameters:
node - the xmlNode to get the parent of
Returns:
node
DESCRIPTIONxmlTreeGetParent() returns the parent of the node node.
If this is used on one of the top-level nodes (such as the root
element or a comment outside of the XML tree), then the xmlDoc
will be returned.
EXAMPLE<$parent = (xmlTreeGetParent($node))>
SEE ALSOxmlTreeGetChildren,
xmlTreeGetFirstChild,
xmlTreeGetNext,
xmlTreeGetPrevious