xmlTreeGetFirstChild

 

SYNOPSIS

    xmlNode xmlTreeGetFirstChild(xmlNode node)

Parameters:

  • node - the node to get the first child of

Returns:

  • the first child of node


DESCRIPTION
xmlTreeGetFirstChild() gets the first child of a node.

Note that the first child of an element might not be its first element child; there could be a comment, CDATA, or a blank text node (see the Text Nodes and Children section, here, for more information).


EXAMPLE

    <$child = (xmlTreeGetFirstChild($node))>


SEE ALSO
xmlTreeGetDoc, xmlTreeGetRootElement, xmlTreeGetChildren, xmlTreeGetFirstChild, xmlTreeGetNext, xmlTreeGetPrevious, xmlTreeGetParent


Copyright © Thunderstone Software     Last updated: Dec 10 2018
Copyright © 2019 Thunderstone Software LLC. All rights reserved.