+2009-08-18 Frank Ch. Eigler <fche@elastic.org>
+
+ * component_html.xsl: Correct minor errors caught by recent xslt.
+
2007-02-05 Dave Brolley <brolley@redhat.com>
* Contribute the following changes:
<!-- call this with a result-tree-fragment -->
<xsl:template name="maybecell-copy">
<td>
- <xsl:param name="body"></xsl:param>
+ <xsl:variable name="body" />
<xsl:choose>
- <xsl:when test="count($body)=0">-</xsl:when>
+ <xsl:when test="string-length($body)=0">-</xsl:when>
<xsl:otherwise>
<xsl:copy-of select="$body"/>
</xsl:otherwise>
<!-- call this with a node-set or expression value -->
<xsl:template name="maybecell">
<td>
- <xsl:param name="body"></xsl:param>
+ <xsl:variable name="body" />
<xsl:choose>
- <xsl:when test="count($body)=0">-</xsl:when>
+ <xsl:when test="string-length($body)=0">-</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="$body"/>
</xsl:otherwise>