Callback function invoked by the parser to notify your application that an XML structure (and all its children) have been completely parsed.
SDK
- macOS 10.0+
Framework
- Core Foundation
Declaration
typealias CFXMLParserEndXMLStructureCallBack = (CFXMLParser?, Unsafe Mutable Raw Pointer?, Unsafe Mutable Raw Pointer?) -> Void
Parameters
parser
The CFXMLParser object making the callback.
xmlType
The program-defined value representing the XML element whose end tag has been detected. This value was returned by the
CFXMLParser
callback.Create XMLStructure Call Back info
The program-defined context data you specified in the
CFXMLParser
structure when creating the parser.Context
Discussion
As elements are encountered, this callback is called first, then the CFXMLParser
callback to add the new structure to its parent, then the CFXMLParser
callback (potentially several times) to add the new structure's children to it, and then finally the CFXMLParser
callback to show that the structure has been fully parsed.This callback is optional.