Fix bug with wrong case of <a>-linked terms.
--- a/publish.xsl Wed Aug 03 00:34:20 2011 +0100
+++ b/publish.xsl Wed May 09 17:28:28 2012 +0200
@@ -163,7 +163,10 @@
</title>
<xsl:apply-templates select='head/*[not(self::link) and not(self::meta) and not(self::title)]'/>
<xsl:apply-templates select='head/link[not(@rel="stylesheet" and contains(@href, "StyleSheets/TR") or @media="print")]'/>
+<!--
<link rel='stylesheet' href='http://www.w3.org/StyleSheets/TR/W3C-{$maturity-short}' type='text/css' media='screen'/>
+-->
+ <link rel='stylesheet' href='W3C-{$maturity-short}' type='text/css' media='screen'/>
</head>
<body>
<xsl:variable name='header'>
@@ -1034,12 +1037,12 @@
<xsl:variable name='term' select='$defs/x:term[lower-case(@name)=lower-case($this)]'/>
<a href='{$term/@href}'><span class='{if ($term/@class) then $term/@class else "svg-term"}'>
<xsl:choose>
- <xsl:when test='count($term/node())'>
+ <xsl:when test="count($term/node())">
<xsl:apply-templates select='$term/node()'/>
</xsl:when>
<xsl:otherwise>
- <xsl:value-of select='$term/@name'/>
- </xsl:otherwise>
+ <xsl:apply-templates select='node()'/>
+ </xsl:otherwise>
</xsl:choose>
</span></a>
</xsl:when>