xmlTreeGetDoc

 

SYNOPSIS

xmlDoc xmlTreeGetDoc(xmlNode node)

Parameters:

  • node - the xmlNode you want the xmlDoc of

Returns:

  • the xmlDoc of node


DESCRIPTION
xmlTreeGetDoc() 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 ALSO
xmlTreeGetRootElement, xmlTreeGetChildren, xmlTreeGetFirstChild, xmlTreeGetNext, xmlTreeGetPrevious, xmlTreeGetParent


Copyright © Thunderstone Software     Last updated: May 29 2020
Copyright © 2020 Thunderstone Software LLC. All rights reserved.