diff options
author | Ted Gould <ted@gould.cx> | 2010-12-08 10:28:41 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-12-08 10:28:41 -0600 |
commit | 19d4f5072d6cd72bab67cbf0d9abe28de99a4b7c (patch) | |
tree | 134d6edb6fe8a925680c09ad5f83be3ae8267276 /libdbusmenu-glib/clean-namespaces.xslt | |
parent | bdb286fb7bdbf81d63c0c592beb5bbb94e1a82ae (diff) | |
parent | 29393d8e8816ac771286a47a854dd96138a4a236 (diff) | |
download | libdbusmenu-19d4f5072d6cd72bab67cbf0d9abe28de99a4b7c.tar.gz libdbusmenu-19d4f5072d6cd72bab67cbf0d9abe28de99a4b7c.tar.bz2 libdbusmenu-19d4f5072d6cd72bab67cbf0d9abe28de99a4b7c.zip |
* Upstream Merge
* Porting from dbus-glib to GDBus
* debian/*.install: Changing to be the 0.4 version of the dbusmenu
API of all the filenames and paths.
* Autogen
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..8344a71 --- /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.ayatana.org/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> + |