Returns the XML metadata string of the document
A Document
a new allocated string containing the XML metadata, or null
null