SYNOPSISxmlDoc xmlTreeGetDoc(xmlNode node)
Parameters:
node - the xmlNode you want the xmlDoc of
Returns:
xmlDoc of node
DESCRIPTIONxmlTreeGetDoc() fetches the root of the node's tree,
the xmlDoc. If called on an xmlDoc, then the doc itself
is returned.
EXAMPLE<$doc = (xmlTreeGetDoc($node))>
SEE ALSOxmlTreeGetRootElement,
xmlTreeGetChildren,
xmlTreeGetFirstChild,
xmlTreeGetNext,
xmlTreeGetPrevious,
xmlTreeGetParent