Contents

CFXMLParserGetLocation

Returns the character index of the current parse location.

Declaration

extern CFIndex CFXMLParserGetLocation(CFXMLParserRef parser);

Parameters

  • parser:

    The XML parser to examine.

Return Value

The character index of the current parse 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