No programming is required to convert your data to valid XML.
Create a layout for any type of structured business data by adding segments and fields, setting properties, and segment search criteria.After you've entered your layout meta data you can use your business data to generate XML.