aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib/clean-namespaces.xslt
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-02-21 11:22:46 -0600
committerTed Gould <ted@gould.cx>2011-02-21 11:22:46 -0600
commit2f92a8662f5a84f9ef35dd847539f573f60edc5f (patch)
tree9c00fda471a88fcc331c858bc2de66076f7de9ef /libdbusmenu-glib/clean-namespaces.xslt
parent71020d95b0eb9f583523628261d26336a5dceb39 (diff)
parent34248e4fe3aeef17be5fe9f2339057fbaee81ad2 (diff)
downloadlibdbusmenu-2f92a8662f5a84f9ef35dd847539f573f60edc5f.tar.gz
libdbusmenu-2f92a8662f5a84f9ef35dd847539f573f60edc5f.tar.bz2
libdbusmenu-2f92a8662f5a84f9ef35dd847539f573f60edc5f.zip
Another update to trunk
Diffstat (limited to 'libdbusmenu-glib/clean-namespaces.xslt')
-rw-r--r--libdbusmenu-glib/clean-namespaces.xslt14
1 files changed, 14 insertions, 0 deletions
diff --git a/libdbusmenu-glib/clean-namespaces.xslt b/libdbusmenu-glib/clean-namespaces.xslt
new file mode 100644
index 0000000..8c0c521
--- /dev/null
+++ b/libdbusmenu-glib/clean-namespaces.xslt
@@ -0,0 +1,14 @@
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:dox="http://www.canonical.com/dbus/dox.dtd">
+ <xsl:template match="*|@*">
+ <xsl:copy>
+ <xsl:apply-templates select="*|@*" />
+ </xsl:copy>
+ </xsl:template>
+ <xsl:template match="@dox:*|dox:*"/>
+ <xsl:template match="*">
+ <xsl:element name="{local-name()}">
+ <xsl:apply-templates select="@* | node()"/>
+ </xsl:element>
+ </xsl:template>
+</xsl:stylesheet>
+