NEWS: prepare for 6.6.1
[xcsoar.git] / build / no_anti_aliasing.xsl
blob695f5a567bdc530e6efb96a02f508707557f582d
1 <?xml version="1.0"?>
3 <xsl:stylesheet version="1.0"
4 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
5 xmlns:svg="http://www.w3.org/2000/svg">
7 <!-- copy all elements and all attributes -->
8 <xsl:template match="@*|node()">
9 <xsl:copy>
10 <xsl:apply-templates select="@*|node()"/>
11 </xsl:copy>
12 </xsl:template>
14 <!-- .. but add "shape-rendering:optimizeSpeed" to these elements
15 -->
16 <xsl:template match="svg:path/@style">
17 <xsl:attribute name="style">
18 <xsl:text>shape-rendering:optimizeSpeed;</xsl:text>
19 <xsl:value-of select="."/>
20 </xsl:attribute>
21 </xsl:template>
23 </xsl:stylesheet>