|
SYNOPSIS
xmlNode xmlTreeGetParent(xmlNode node)
Parameters:
-
node - the xmlNode to get the parent of
Returns:
DESCRIPTION
xmlTreeGetParent() 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 ALSO
xmlTreeGetChildren,
xmlTreeGetFirstChild,
xmlTreeGetNext,
xmlTreeGetPrevious
Copyright © Thunderstone Software Last updated: Mon Feb 18 10:28:15 EST 2013
|