With an standalone DataBlox (that is, one that is not nested inside of another Blox), you can render a query result set from an application data source into XML format by setting the render URL attribute to xml (render=xml). Using the XML format is explained further in Exporting to XML.