Axel: for-each und Tabellen

Beitrag lesen

Hi,
probiers mal so:

<xsl:for-each ...>
xsl:choose
    <xsl:when test="position() mod 2 = 1">
        <TR>
           <TD colspan="2">
              <xsl:value-of select="."/>
           </TD>
        </TR>
    </xsl:when>
    xsl:otherwise
       <TD colspan="2">
        <xsl:value-of select="."/>
       </TD>
    </xsl:otherwise>
</xsl:choose>
</xsl:for-each>

Gruß
Axel :-)