1. A method of converting data between a relational format and an XML document, comprising: creating an XML Mapping Definition from metadata; selecting relational data from a relational application database; converting the relational data to XML data using the XML Mapping Definition; and storing the converted relational data in the XML document.