CFXMLTreeCreateWithNode
Creates a childless, parentless CFXMLTree object node for a CFXMLNode object.
Declaration
extern CFXMLTreeRef CFXMLTreeCreateWithNode(CFAllocatorRef allocator, CFXMLNodeRef node);Parameters
- allocator:
The allocator to use to allocate memory for the new object. Pass
NULLor kCFAllocatorDefault to use the current default allocator. - node:
The CFXMLNode object to use when creating the new CFXMLTree object.
Return Value
A CFXMLTree object. Ownership follows the The Create Rule.