camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From contactreji <>
Subject XSLT in Camel not working as expected
Date Wed, 23 Mar 2016 16:02:29 GMT
Hey guys

I am trying to remove duplicates from a sorted xml based on an attribute
value. XSLT code pasted below. I tested this xslt code in OxygenXMLEditor
tool and this very same code seems to be working absolutely fine.

But to my surprise, its not removing the duplicates when using camel xslt
The transformed body still contains the duplicates.

What could be the reason for this not working from Camel routes?


*<xsl:stylesheet version="1.0"
    <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
    <xsl:template match="@*|node()">
            <xsl:apply-templates select="@*|node()" />
    <xsl:template match="Item[MozartItemNumber/@value =

Reji Mathews
Sr. Developer - Middleware Integration / SOA ( Open Source - Apache Camel & Jboss Fuse
ESB | Mule ESB )
LinkedIn -
Twitter - reji_mathews
View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message