[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: HTML table structure

Subject: RE: HTML table structure
From: "Brad Miller" <Brad.Miller@xxxxxxxxxxx>
Date: Wed, 3 Jul 2002 11:53:05 -0700
brad miller
~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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.