Contents

CFXMLParserGetLineNumber

Returns the line number of the current parse location.

Declaration

extern CFIndex CFXMLParserGetLineNumber(CFXMLParserRef parser);

Parameters

  • parser:

    The XML parser to examine.

Return Value

The line number of the current location.

Discussion

This function is typically used in conjunction with the CFXMLParserHandleErrorCallBack function so that error location information can be reported.

See Also

CFXMLParser Miscellaneous Functions