Thunderstone Software Document Search, Retrieval, and Management
Search:
Vortex Manual
 

xmlTreeGetParent

 

SYNOPSIS

    xmlNode xmlTreeGetParent(xmlNode node)

Parameters:

  • node - the xmlNode to get the parent of

Returns:

  • the parent of node


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: Thu Dec 22 15:13:31 EST 2011
 
Home   ::   Products   ::   Solutions   ::   How to Buy   ::   Support   ::   Contact Us   ::   News   ::   About
Copyright © 2012 Thunderstone Software LLC. All rights reserved.