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