xmlReaderGetLine

 

SYNOPSIS

int xmlReaderGetLine(xmlReader reader)

Parameters:

  • reader - the xmlReader object

Returns:

  • the current line of the parser


DESCRIPTION
xmlReaderGetLine() returns the current line of the XML file that the parser is on.


EXAMPLE

<$line = (xmlReaderGetLine($reader))>


CAVEATS
The xmlReader parser can read ahead and buffer some of the XML message, so functions like this might not match the current element.


SEE ALSO
xmlReaderGetBytesConsumed, xmlReaderGetColumn, xmlReaderGetDepth, xmlReaderGetType, xmlReaderIsEmptyElement


Copyright © Thunderstone Software     Last updated: Sep 25 2019
Copyright © 2019 Thunderstone Software LLC. All rights reserved.