diff options
author | Ted Gould <ted@gould.cx> | 2011-01-13 10:11:17 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-01-13 10:11:17 -0600 |
commit | b76ed9c7f918123610e5e56bb9cdd1025d34caa1 (patch) | |
tree | 0905e58eb310c29710bcf881ae87f72904f3f153 /libdbusmenu-glib/clean-namespaces.xslt | |
parent | f0c24c976f319d0b087adc0c8bc694cf930aa30b (diff) | |
parent | 2cfbfcab8a2c73227619eb3cd7a79e1fe17a8b43 (diff) | |
download | libdbusmenu-b76ed9c7f918123610e5e56bb9cdd1025d34caa1.tar.gz libdbusmenu-b76ed9c7f918123610e5e56bb9cdd1025d34caa1.tar.bz2 libdbusmenu-b76ed9c7f918123610e5e56bb9cdd1025d34caa1.zip |
Import upstream version 0.3.91
Diffstat (limited to 'libdbusmenu-glib/clean-namespaces.xslt')
-rw-r--r-- | libdbusmenu-glib/clean-namespaces.xslt | 14 |
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> + |