[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: HTML table structure
~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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|