Please explain to me how to include a plain html inside an XSL template
<xsl:choose>
<xsl:when test="position() = last()">
<xsl:text><tr><td colspan='10'>bla bla.</td></tr></xsl:text></xsl:when>
</xsl:choose>
Error: ‘tr’ cannot be a child of the ‘xsl:text’ element.
Thanks !
Simply remove the
<xsl:text>tags:An
<xsl:text>element means “insert text here”. Therefore, its content must only consist of text nodes. You can, however, simply write out the text; the following two lines are equivalent: