diff options
author | Ted Gould <ted@gould.cx> | 2010-12-07 09:45:41 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-12-07 09:45:41 -0600 |
commit | 663a072630eb71cf8ea246eb218934df1911ee1a (patch) | |
tree | 20e1a5bb1b7a8e865b7975bfb52d94bbac044b0e /libdbusmenu-glib/clean-namespaces.xslt | |
parent | bdb286fb7bdbf81d63c0c592beb5bbb94e1a82ae (diff) | |
parent | 9b53f1fd5c2452f40ac079ece4d673b4b4d1bb57 (diff) | |
download | libdbusmenu-663a072630eb71cf8ea246eb218934df1911ee1a.tar.gz libdbusmenu-663a072630eb71cf8ea246eb218934df1911ee1a.tar.bz2 libdbusmenu-663a072630eb71cf8ea246eb218934df1911ee1a.zip |
* Upstream Merge
* Porting from dbus-glib to GDBus
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> + |