Hello,
Did you try to save your results in a structure of volatile entities and then to use the XML Out Unit to try to export everything in an XML structure? You can find the XML Out Unit in the section Service Units in WebRatio menu. If you do right-click on it and go to menu Help->Unit Reference you can find the description of the unit starting like this:
"An XML Out Unit performs the dual action with respect to the XML In Unit. In particular, it transforms a fragment of E-R schema into a canonical relational XML document. ... "
Maybe is the thing you need! You can also create a XML file through a Groovy Script.