Hi San,
Please try the below code snippet and let me know if you are able to reverse or not.
Just call the below template with param of the name object.
<xsl:template name="reverse">
<xsl:param name="str"/>
<xsl:choose>
<xsl:when test="string-length($str) > 0">
<xsl:call-template name="reverse">
<xsl:with-param name="str" select="substring($str, 2)" />
</xsl:call-template>
<xsl:value-of select="substring($str,1,1)"></xsl:value-of>
</xsl:when>
</xsl:choose>
</xsl:template>
#DataPower#Support#SupportMigration