Contents

CFXMLParserParse

Begins a parse of the XML data that was associated with the parser when it was created.

Declaration

extern Boolean CFXMLParserParse(CFXMLParserRef parser);

Parameters

  • parser:

    The XML parser to start.

Return Value

true if the parse was successful, false otherwise.

Discussion

Upon success, use the CFXMLParserGetDocument function to get the product of the parse. Upon failure, use the CFXMLParserGetContext or CFXMLParserCopyErrorDescription functions to get information about the error. It is an error to call the CFXMLParserParse function while a parse is already underway.

See Also

CFXMLParser Miscellaneous Functions