-
Bug
-
Resolution: Duplicate
-
None
Not sure where should I report bugs like this... But anyway if I have this line:
-
- Installation Level: Easy
It gets converted to:
<installation>
<level>Easy</level>
...
And in XSL file there is a case-sensitive mechanism to show a level of installation.
<xsl:if test="mod:level='easy'">Easy</xsl:if>
- Installation Level: Easy
The converter should lowercase the level and the XSL should also be changed like this:
REPLACE:
<dt>Installation Level:</dt>
<dd>
<xsl:if test="mod:level='easy'">Easy</xsl:if>
<xsl:if test="mod:level='intermediate'">Intermediate</xsl:if>
<xsl:if test="mod:level='hard'">Hard</xsl:if>
</dd>
WITH:
<dt>Installation Level:</dt>
<dd>
<xsl:choose>
<xsl:when test="mod:level='easy'">Easy</xsl:when>
<xsl:when test="mod:level='intermediate'">Intermediate</xsl:when>
<xsl:when test="mod:level='hard'">Hard</xsl:when>
<xsl:otherwise><xsl:value-of select="mod:level" /></xsl:otherwise>
</xsl:choose>
</dd>