Contents

CFXMLNodeCreateCopy

Creates a copy of a CFXMLNode object.

Declaration

extern CFXMLNodeRef CFXMLNodeCreateCopy(CFAllocatorRef alloc, CFXMLNodeRef origNode);

Parameters

  • alloc:

    The allocator to use to allocate memory for the new object. Pass NULL or kCFAllocatorDefault to use the current default allocator.

  • origNode:

    The node to copy. Do not pass NULL.

Return Value

A new CFXMLNode object. Ownership follows the The Create Rule.

See Also

CFXMLNode Miscellaneous Functions