File: clean.xsl

package info (click to toggle)
mokomaze 0.7.1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,580 kB
  • sloc: ansic: 3,600; sh: 1,241; cpp: 1,230; makefile: 163; sed: 57
file content (11 lines) | stat: -rw-r--r-- 418 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:svg="http://www.w3.org/2000/svg">
<xsl:output omit-xml-declaration="yes"/>
<xsl:template match="node()|@*">
    <xsl:copy>
        <xsl:apply-templates select="node()|@*"/>
    </xsl:copy>
</xsl:template>
<xsl:template match="svg:g[@style='display:none']"/>
<xsl:template match="svg:path[@style='display:none']"/>
</xsl:stylesheet>