xml transformation to other xml via xslt trasformers is not working as expected...need help

Its working fine when checked with validator/transformation tools but not working when running xslt service in webmethods.

Xml file :

1 first 111 po1
    <element>
    <id>2</id>
    <group>second</group>
    <PONumber>222</PONumber>
    <POName>po2</POName>
    </element>
    
    <element>
    <id>3</id>
    <group>first</group>
    <PONumber>333</PONumber>
    <POName>po3</POName>
    </element>
    
    <element>
    <id>5</id>
    <group>second</group>
    <PONumber>222</PONumber>
    <POName>po4</POName>
    </element>
    
    <element>
    <id>8</id>
    <group>first</group>
    <PONumber>111</PONumber>
    <POName>po5</POName>
    </element>

and xsl file:

<xsl:stylesheet version=“2.0”
xmlns:xsl=“http://www.w3.org/1999/XSL/Transform”>
<xsl:output omit-xml-declaration=“yes” indent=“yes”/>

<xsl:template match="/*">

<xsl:for-each-group select=“element” group-by=“PONumber”>

<xsl:copy-of select=“current-group()”/>

</xsl:for-each-group>

</xsl:template>
</xsl:stylesheet>

When calling in webmethods xslt,its throwing errors.

Hi,

I think Xalan, the default XSLT processor in Integration Server, only handles XSLT 1.0.

Maybe you could try installing Saxon-HE and set it as the default processor.

Best Regards,