Function

CFXMLParserGetDocument

Returns the top-most object returned by the create XML structure callback.

Declaration

void * CFXMLParserGetDocument(CFXMLParserRef parser);

Parameters

parser

The XML parser to examine.

Return Value

The top-most object returned by the createXMLStructure field in the CFXMLParserCallBacks structure. If the returned value is a Core Foundation object, ownership follows the The Get Rule.

See Also

CFXMLParser Miscellaneous Functions

CFXMLParserAbort

Causes a parser to abort with the given error code and description.

Deprecated
CFXMLParserCopyErrorDescription

Returns the user-readable description of the current error condition.

Deprecated
CFXMLParserCreate

Creates a new XML parser for the specified XML data.

Deprecated
CFXMLParserCreateWithDataFromURL

Creates a new XML parser for the specified XML data at the specified URL.

Deprecated
CFXMLParserGetCallBacks

Returns the callbacks associated with an XML parser when it was created.

Deprecated
CFXMLParserGetContext

Returns the context for an XML parser.

Deprecated
CFXMLParserGetLineNumber

Returns the line number of the current parse location.

Deprecated
CFXMLParserGetLocation

Returns the character index of the current parse location.

Deprecated
CFXMLParserGetSourceURL

Returns the URL for the XML data being parsed.

Deprecated
CFXMLParserGetStatusCode

Returns a numeric code indicating the current status of the parser.

Deprecated
CFXMLParserGetTypeID

Returns the type identifier for the CFXMLParser opaque type.

Deprecated
CFXMLParserParse

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

Deprecated