xmlTreeGetLine

 

SYNOPSIS

    int xmlTreeGetLine(xmlNode node)

Parameters:

  • node - the xmlNode you want the line number of

Returns:

  • the line number that node occurs on


DESCRIPTION
xmlTreeGetLine() returns the line number of node. Unlike the reader's xmlReaderGetLine() function, where the parser may read ahead, the xmlTreeGetLine() function will be accurate.


EXAMPLE

    <$line = (xmlTreeGetLine($node))>


SEE ALSO
xmlTreeGetName, xmlTreeGetContent, xmlTreeGetAllContent, xmlTreeGetType, xmlTreeIsBlankNode, xmlTreeGetAttributeContent


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