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

# CFXMLTreeGetNode

Returns the node of a CFXMLTree object.

## Declaration

```occ
extern CFXMLNodeRefCFXMLTreeGetNode(CFXMLTreeRef xmlTree);
```

## Parameters

- `xmlTree`: The CFXMLTree object whose node you wish to obtain.

## Return Value

Return Value The node of xmlTree. Ownership follows the The Get Rule.

## See Also

### CFXMLTree Miscellaneous Functions

- [CFXMLCreateStringByEscapingEntities(_:_:_:)](corefoundation/cfxmlcreatestringbyescapingentities(_:_:_:).md)
- [CFXMLCreateStringByUnescapingEntities(_:_:_:)](corefoundation/cfxmlcreatestringbyunescapingentities(_:_:_:).md)
- [CFXMLTreeCreateFromData](corefoundation/cfxmltreecreatefromdata.md)
- [CFXMLTreeCreateFromDataWithError](corefoundation/cfxmltreecreatefromdatawitherror.md)
- [CFXMLTreeCreateWithDataFromURL](corefoundation/cfxmltreecreatewithdatafromurl.md)
- [CFXMLTreeCreateWithNode](corefoundation/cfxmltreecreatewithnode.md)
- [CFXMLTreeCreateXMLData](corefoundation/cfxmltreecreatexmldata.md)
