RE: [xsl] HTML table structure

Subject: RE: [xsl] HTML table structure
From: "Brad Miller" <Brad.Miller@xxxxxxxxxxx>
Date: Wed, 3 Jul 2002 11:53:05 -0700
~This sounds like you want the first cell to span down through 
~three rows, but the 2nd cell in all three rows are separate. 

Sorry my mistake, I was playing with the rowspan and forgot to add it back in.
Here is a look at what I want as the end result. I have taken the HTML code out of the XSL file and replaced the XSL code with plain text and it works fine. But when transforming it with XSL it gives me 3 rows with no span, instead of 2 rows with one cell spanning the 2 on the right.

this is what I am getting now:
|--------------------|
|                    |
|--------------------|
|                    |
|--------------------|
|                    |
|--------------------|
This is what I want:
|--------------------|
|         |          |
|         |          |
|         |----------|
|         |          |
|         |          |
|--------------------|


<xsl:template match="TASKS/GUIDE/ROW/CELL">
<table border="3">
	<tr>
		<td valign="top" align="left" width="200" bgcolor="blue"  rowspan="2">
		<OL>
        	<xsl:for-each select="LIST/ITEM-NUMBER">
  			<li><xsl:value-of select = "." /></li>
		</xsl:for-each>
		</OL>
		</td>
		<td width="400">
		<xsl:for-each select="SCREEN">
  			<li><xsl:value-of select = "." /></li>
		</xsl:for-each>
		</td>
	</tr>
	<tr>
		<td width="400">
		<xsl:for-each select="DESCRIPTION">
  			<h2><xsl:value-of select = "TITLE" /></h2>
		</xsl:for-each>
		<xsl:for-each select="DESCRIPTION">
  			<p><xsl:value-of select = "PARA" /></p>
		</xsl:for-each>
		</td>
	</tr>
</table>
</xsl:template>

Thanks
Brad Miller
TRIRIGA INC.
bmiller@xxxxxxxxxxx

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread