Conversion of UDF to XML
UDF format records are converted to flat (well-formed) XML. The flat form of the record is simply a mapping out of the UDF data in XML format.
The flat XML records are transformed using XSLT into structured (valid) XML. XSLT expects, at least, a well-formed document for transforming.