Seems I found my answer here:
http://qtnode.net/wiki?title=QtTest_XML_Output

Now, I just need to figure out how to call this XSLT file on my XML file to transform it properly, in a script...