i tried to print td
data on multiple rows, i'm using XSLT, basically if we do the following simple example:
<td rowspan="3">
X
Y
z
</td>
the output will be as follows:
X Y Z
although i put the rowspan
attribute the content still appears on one row !!
the real code is as follows:
<td width="800px" rowspan="3">
<xsl:variable name='newline'><xsl:text>
</xsl:text></xsl:variable>
<xsl:variable name="recip">
<xsl:for-each select="page/message/recipients/recipient">
<xsl:choose>
<xsl:when test="position() mod 5 = 0">
<xsl:value-of select="concat(first-name,' ',middle-name,' ',last-name,$newline)"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="concat(first-name,' ',middle-name,' ',last-name,',')"/>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
</xsl:variable>
<xsl:variable name="recipID">
<td/>
as i said although i print a new line using 

the data remain appears on one line, any idea about fixing this problem?
You will always type from left to right in
<TD>
. If you actually do want linebreaks, use<br />
like you would everywher else.For
rowspan
, read https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td. I don't think it does what you think it does.