Subject: Re: Re: dynamic html table generation
From: Beverly Voth <bvoth@xxxxxxxxxxx>
Date: Mon, 27 Oct 2003 11:50:23 -0500
|
On 10/26/2003 2:41 AM, "Dimitre Novatchev" <dnovatchev@xxxxxxxxx> wrote in
whole or in part:
>> But how can that be done with columns?
>
> This transformation:
[snip'd]
> when applied on this source.xml:
[snip'd]
> produces the wanted result:
>
> <html>
> <body>
> <table>
> <tr>
> <td>01</td>
> <td>05</td>
> <td>09</td>
> </tr>
> <tr>
> <td>02</td>
> <td>06</td>
> <td>10</td>
> </tr>
> <tr>
> <td>03</td>
> <td>07</td>
> </tr>
> <tr>
> <td>04</td>
> <td>08</td>
> </tr>
> </table>
> </body>
> </html>
Would this be a problem -- 3 <td>'s in <tr> 1 & 2 and 2 <td>'s in the
remainder of the <tr>'s? Shouldn't there always be the same number of
columns or have a 'colspan' in there?
I didn't see any requirements in
"http://www.w3.org/TR/html4/struct/tables.html", but have seen the browsers
go really wonky when all is not right with the world!
Thanks.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|