<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreFoundation",
  "identifier" : "/documentation/CoreFoundation/kCFXMLTreeErrorStatusCode",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Core Foundation"
    ],
    "preciseIdentifier" : "c:@kCFXMLTreeErrorStatusCode"
  },
  "title" : "kCFXMLTreeErrorStatusCode"
}
-->

# kCFXMLTreeErrorStatusCode

Dictionary key whose value is a CFNumber containing the error status code. See [`CFXMLParser`](/documentation/CoreFoundation/CFXMLParser) for possible status code values.

```
let kCFXMLTreeErrorStatusCode: CFString!
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)