camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sathiyaraja <sathiyaraja1...@hotmail.com>
Subject Re: Removing namespaces from soap response using SoapOutInterceptor
Date Sun, 14 Jun 2015 16:44:20 GMT
Hi, 
You can do this by xsl transformation.,

PFB xsl for removing namespace from a xml message.,


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

  <xsl:template match="*">
    <xsl:element name="{local-name(.)}">
      <xsl:apply-templates select="@* | node()"/>
    </xsl:element>
  </xsl:template>
  <xsl:template match="@*">
 </xsl:template>
</xsl:stylesheet>

Regards,
Sathiya



--
View this message in context: http://camel.465427.n5.nabble.com/Removing-namespaces-from-soap-response-using-SoapOutInterceptor-tp5768110p5768213.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message