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: Dec 10 2018
Copyright © 2019 Thunderstone Software LLC. All rights reserved.