diff options
author | Ted Gould <ted@gould.cx> | 2010-11-15 16:55:43 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-11-15 16:55:43 -0600 |
commit | 080cf37f48dba3dc521167bd3ddc51f45681ea1d (patch) | |
tree | e24290fbbd2837491e8576bf830efbc0de7c0095 /libdbusmenu-glib/clean-namespaces.xslt | |
parent | bf33041c44cc9edd029a2ebe1359a78103f8e9f9 (diff) | |
download | libdbusmenu-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.xslt | 9 |
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> + |