Browse Source

Yes! This should work.

svn path=/trunk/; revision=15857
tags/stw2018
Reinhard Müller 9 years ago
parent
commit
6536a7cd7e
1 changed files with 1 additions and 5 deletions
  1. 1
    5
      about/printable/get_h1.xsl

+ 1
- 5
about/printable/get_h1.xsl View File

@@ -4,16 +4,12 @@
<xsl:output method="text" encoding="UTF-8"/>

<xsl:template match="h1">
<xsl:value-of select="node()"/>
<xsl:value-of select="."/>
<!-- Add dashes between multiple h1 headings -->
<xsl:if test="../@id='fsfe'"> - </xsl:if>
<xsl:if test="../@id='free_software'"> - </xsl:if>
</xsl:template>
<xsl:template match="latin">
<xsl:apply-templates select="@*|node()"/>
</xsl:template>

<xsl:template match="@*|node()" priority="-1">
<xsl:apply-templates select="@*|node()"/>
</xsl:template>

Loading…
Cancel
Save