aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib/clean-namespaces.xslt
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-11-15 16:55:43 -0600
committerTed Gould <ted@gould.cx>2010-11-15 16:55:43 -0600
commit080cf37f48dba3dc521167bd3ddc51f45681ea1d (patch)
treee24290fbbd2837491e8576bf830efbc0de7c0095 /libdbusmenu-glib/clean-namespaces.xslt
parentbf33041c44cc9edd029a2ebe1359a78103f8e9f9 (diff)
downloadlibdbusmenu-080cf37f48dba3dc521167bd3ddc51f45681ea1d.tar.gz
libdbusmenu-080cf37f48dba3dc521167bd3ddc51f45681ea1d.tar.bz2
libdbusmenu-080cf37f48dba3dc521167bd3ddc51f45681ea1d.zip
Cleaning out namespaces from the XML so that GDBus will read it.
Diffstat (limited to 'libdbusmenu-glib/clean-namespaces.xslt')
-rw-r--r--libdbusmenu-glib/clean-namespaces.xslt9
1 files changed, 9 insertions, 0 deletions
diff --git a/libdbusmenu-glib/clean-namespaces.xslt b/libdbusmenu-glib/clean-namespaces.xslt
new file mode 100644
index 0000000..125a10f
--- /dev/null
+++ b/libdbusmenu-glib/clean-namespaces.xslt
@@ -0,0 +1,9 @@
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:dox="http://www.ayatana.org/dbus/dox.dtd">
+ <xsl:template match="*|@*">
+ <xsl:copy>
+ <xsl:apply-templates select="*|@*" />
+ </xsl:copy>
+ </xsl:template>
+ <xsl:template match="@dox:*|dox:*"/>
+</xsl:stylesheet>
+