File: clean-namespaces.xslt

package info (click to toggle)
libdbusmenu 12.10.2-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 4,464 kB
  • ctags: 1,903
  • sloc: ansic: 11,688; sh: 11,468; xml: 3,806; makefile: 1,020; python: 202
file content (14 lines) | stat: -rw-r--r-- 446 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
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>