Skip to Content
Former Member
Oct 07, 2015 at 06:59 AM

Remove xmlns in xml file


Hi All,

how to remove xmlns in input xml. Because it's bring empty value when i call this in atoms

I find following xslt. Where i will use below xslt in atom

<xsl:output method="xml" omit-xml-declaration="yes"/>

<xsl:template match="*">

<xsl:element name="{local-name()}">

<xsl:apply-templates select="@* | node()"/>



<!-- template to copy attributes -->

<xsl:template match="@*">

<xsl:attribute name="{local-name()}">

<xsl:value-of select="."/>



This is my xml file.

?xml version="1.0" encoding="UTF-8"?>

<orders xmlns="">

<order order-no="EU_325278">





Output in next atom like that below


<order order-no="EU_325278">