Contents

CFXMLParserGetContext

Returns the context for an XML parser.

Declaration

extern void CFXMLParserGetContext(CFXMLParserRef parser, CFXMLParserContext *context);

Parameters

  • parser:

    The XML parser to examine.

  • context:

    On return, a pointer to the context structure for parser.

Discussion

If you set a context for the parser, it will be passed to you as a parameter in each of the parser callback functions. The context data structure is application defined and associated with a parser using one of the CFXMLParserCreate... functions.

See Also

CFXMLParser Miscellaneous Functions