Hi,
try to change the match condition, for example:
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:env="http://www.w3.org/2003/05/soap-envelope"
xmlns:dp="http://www.datapower.com/extensions"
xmlns:dpconfig="http://www.datapower.com/param/config"
xmlns:date="http://exslt.org/dates-and-times"
extension-element-prefixes="dp date"
exclude-result-prefixes="dp dpconfig date env">
<xsl:output method="text"/>
<xsl:template match="//*[local-name()='Body']">
<xsl:variable name="encoding">
<xsl:copy-of select="."/>
</xsl:variable>
<xsl:variable name="MsgBlock">
<dp:serialize select="$encoding" omit-xml-decl="no" />
</xsl:variable>
<xsl:value-of select="dp:encode($MsgBlock,'base-64')"/>
</xsl:template>
</xsl:stylesheet>
Also, you might be better of using text as output method.
--HP
#DataPower#Support#SupportMigration