---
title: CFXMLParserGetCallBacks
framework: Core Foundation
role: symbol
role_heading: Function
platforms: [macOS 10.0+]
path: corefoundation/cfxmlparsergetcallbacks
---

# CFXMLParserGetCallBacks

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

## Declaration

```occ
extern void CFXMLParserGetCallBacks(CFXMLParserRef parser, CFXMLParserCallBacks *callBacks);
```

## Parameters

- `parser`: The XML parser to examine.
- `callBacks`: On return, contains the callbacks for parser.

## See Also

### CFXMLParser Miscellaneous Functions

- [CFXMLParserAbort](corefoundation/cfxmlparserabort.md)
- [CFXMLParserCopyErrorDescription](corefoundation/cfxmlparsercopyerrordescription.md)
- [CFXMLParserCreate](corefoundation/cfxmlparsercreate.md)
- [CFXMLParserCreateWithDataFromURL](corefoundation/cfxmlparsercreatewithdatafromurl.md)
- [CFXMLParserGetContext](corefoundation/cfxmlparsergetcontext.md)
- [CFXMLParserGetDocument](corefoundation/cfxmlparsergetdocument.md)
- [CFXMLParserGetLineNumber](corefoundation/cfxmlparsergetlinenumber.md)
- [CFXMLParserGetLocation](corefoundation/cfxmlparsergetlocation.md)
- [CFXMLParserGetSourceURL](corefoundation/cfxmlparsergetsourceurl.md)
- [CFXMLParserGetStatusCode](corefoundation/cfxmlparsergetstatuscode.md)
- [CFXMLParserGetTypeID](corefoundation/cfxmlparsergettypeid.md)
- [CFXMLParserParse](corefoundation/cfxmlparserparse.md)
