comparison html.xsl @ 20:104ef815b0b0

fix false negs, add mouseover to show refs
author Henry S. Thompson <ht@markup.co.uk>
date Tue, 04 Apr 2017 18:04:13 +0100
parents 9b1b169dc8db
children 93fd0d532754
comparison
equal deleted inserted replaced
19:9b1b169dc8db 20:104ef815b0b0
40 <xsl:attribute name="class"> 40 <xsl:attribute name="class">
41 <xsl:value-of select="(., 41 <xsl:value-of select="(.,
42 if (@f) then 'formula' else (), 42 if (@f) then 'formula' else (),
43 if (@r) then 'reffed' else ())"/> 43 if (@r) then 'reffed' else ())"/>
44 </xsl:attribute> 44 </xsl:attribute>
45 <xsl:if test="@r"><xsl:attribute name="title"><xsl:value-of select="@r"/></xsl:attribute></xsl:if>
45 <xsl:value-of select="."/></xsl:when> 46 <xsl:value-of select="."/></xsl:when>
46 <xsl:otherwise><xsl:text> </xsl:text></xsl:otherwise> 47 <xsl:otherwise><xsl:text> </xsl:text></xsl:otherwise>
47 </xsl:choose> 48 </xsl:choose>
48 </td> 49 </td>
49 </xsl:template> 50 </xsl:template>