[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] fillng some table cells


Subject: [xsl] fillng some table cells
From: Gerardo <gsegura@xxxxxxxxxxx>
Date: Wed, 06 Jul 2005 17:29:27 -0500

Hi,
i'm trying to create an html table with the following data,
<items>
   <item name="a" />
   <item name="b" />
   <item name="c" />
   <item name="d" />
   <item name="e" />
</items>

<row>
<found ="a" />
</row>
<row>
<found ="b" />
<found ="c" /> </row>
<row>
<found ="d" />
</row>


but just don't figure out how to render the empty cells for the cols not included in each row, the expected output si somethign like

  ---------------------------
  |  a  |  b   |   c   |   d   |  e   |
  |--------------------|-----|
  | x   |       |        |        |       |
  |---------------------|----|
  |     |   x   |   x   |        |       |
  |---------------------|----|
  |     |       |        |     x   |      |
  |--------------------------|


Current Thread