Initial commit for OpenECOMP SDN-C northbound
[sdnc/northbound.git] / ueb-listener / src / main / resources / removeNs.xslt
diff --git a/ueb-listener/src/main/resources/removeNs.xslt b/ueb-listener/src/main/resources/removeNs.xslt
new file mode 100755 (executable)
index 0000000..7aa927b
--- /dev/null
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xsl:stylesheet version="1.0"
+    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+    <xsl:output method="xml" indent="yes" omit-xml-declaration="yes"/>
+
+    <xsl:template match="*">
+        <xsl:element name="{local-name(.)}">
+            <xsl:apply-templates select="@* | node()" />
+        </xsl:element>
+    </xsl:template>
+    <xsl:template match="@*">
+        <xsl:attribute name="{local-name(.)}">
+      <xsl:value-of select="." />
+    </xsl:attribute>
+    </xsl:template>
+</xsl:stylesheet>
\ No newline at end of file