Function

CFPropertyListCreateXMLData

Creates an XML representation of the specified property list.

Declaration

CFDataRef CFPropertyListCreateXMLData(CFAllocatorRef allocator, CFPropertyListRef propertyList);

Parameters

allocator

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

propertyList

The property list to convert. This may be any of the standard property list objects, for example a CFArray or a CFDictionary object.

Return Value

A CFData object containing the XML data. Ownership follows the The Create Rule.

Discussion

See Also

Exporting a Property List

CFPropertyListCreateData

Returns a CFData object containing a serialized representation of a given property list in a specified format.

CFPropertyListWrite

Write the bytes of a serialized property list out to a stream.

CFPropertyListWriteToStream

Writes the bytes of a property list serialization out to a stream.

Deprecated