HI All,
Am trying to do sorting in the xml payload by using xslt but am not getting were am doing wrong.
XSLT Code:
<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="3.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="*/wfRequestNav/wfRequestId"> <xsl:apply-templates> <xsl:sort select="@wfRequestId" order="descending" data-type="number" /> </xsl:apply-templates> </xsl:template> </xsl:stylesheet>
Input XML i have attached can you let me know where am getting wrong.
Regards,
Sandhya