I developed an XSLT stylesheet to transform from the new (5.0) XML format to the old one (4.1 and earlier). Here it is:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="
http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
<xsl:template match="/">
<xsl:text disable-output-escaping="yes"><resultset></xsl:text>
<xsl:apply-templates/>
<xsl:text disable-output-escaping="yes"></resultset></xsl:text>
</xsl:template>
<xsl:template match="row">
<xsl:text disable-output-escaping="yes"><row></xsl:text>
<xsl:apply-templates/>
<xsl:text disable-output-escaping="yes"></row></xsl:text>
</xsl:template>
<xsl:template match="field">
<xsl:text disable-output-escaping="yes"><</xsl:text>
<xsl:value-of select="@name"/>
<xsl:text disable-output-escaping="yes">></xsl:text>
<xsl:value-of select="."/>
<xsl:text disable-output-escaping="yes"></</xsl:text>
<xsl:value-of select="@name"/>
<xsl:text disable-output-escaping="yes">></xsl:text>
</xsl:template>
</xsl:stylesheet>