xsl-list
[Top] [All Lists]

Re: Re: dynamic html table generation

2003-10-27 09:50:23
On 10/26/2003 2:41 AM, "Dimitre Novatchev" <dnovatchev(_at_)yahoo(_dot_)com> 
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



<Prev in Thread] Current Thread [Next in Thread>