The following functions are used to read the MetaData. Pass the following functions an object ID and they return a string of XML data for all the metadata (xfGetMetadataXML), the profile data, the source data, and the spatial data respectively. The string returned from a_xml must be free'd after any of these functions are called (if they are successful).
XMDF_API int xfGetMetadataXML(xid a_Id, char **a_xml); XMDF_API int xfGetMetadataProfileXML (xid a_Id, char **a_xml); XMDF_API int xfGetMetadataSourceXML (xid a_Id, char **a_xml); XMDF_API int xfGetMetadataSpatialXML (xid a_Id, char **a_xml);