Re: [xsl] output in table

Subject: Re: [xsl] output in table
From: "Charles Ohana" <charles.ohana@xxxxxxxxxxxxxx>
Date: Mon, 20 Jun 2005 11:40:02 -0500
I need the following output. But I need it generic since I don't know how many element I'm going to have ...
- Thanx


<table border="1">
  <tr>
     <td> cingular </td>
     <td> t-mobile </td>
     <td> att </td>
  </tr>
     <td> verizon </td>
     <td> nextel </td>
     <td> sprint </td>
  </tr>
     <td> boost </td>
     <td> Other </td>
     <td> Unknown </td>
  </tr>
</table>

<root>
  <carrier name="cingular" position="1" />
  <carrier name="t-mobile" position="2" />
  <carrier name="att" position="0" />
  <carrier name="verizon" position="3" />
  <carrier name="nextel" position="4" />
  <carrier name="sprint" position="5" />
  <carrier name="boost" position="6" />
  <carrier name="Other" position="7" />
  <carrier name="Unknown" position="7" />
</root>




----- Original Message ----- From: <cknell@xxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Monday, June 20, 2005 10:23 AM
Subject: RE: [xsl] output in table



You have given us half of the information we need, now show us the output you would like to produce from this XML and we can show you how to write the XSLT.
--
Charles Knell
cknell@xxxxxxxxxx - email




-----Original Message-----
From:     Charles Ohana <charles.ohana@xxxxxxxxxxxxxx>
Sent:     Mon, 20 Jun 2005 11:21:46 -0500
To:       <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Subject:  [xsl] output in table

Hello,
I'm trying to have an output of the xml below in a table with 3 rows and 3
columns.
Is there a quick and easy way to do it ...
Thanx ...

<root>
<carrier name="cingular" position="1" />
<carrier name="t-mobile" position="2" />
<carrier name="att" position="0" />
<carrier name="verizon" position="3" />
<carrier name="nextel" position="4" />
<carrier name="sprint" position="5" />
<carrier name="boost" position="6" />
<carrier name="Other" position="7" />
<carrier name="Unknown" position="7" />
</root>

Current Thread