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: Apr 15 2024
Copyright © 2024 Thunderstone Software LLC. All rights reserved.