Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries [Thread Prev] >Thread Next - Re: XSLT goruping to table XSLT goruping to tableTo: NULL Date: 1/30/2009 1:53:00 PM Hi,
I'm pretty new at xslt. After a lot of research, I come to know my
question is related to xslt grouping.
I have an xml file like below with 2 col, with 2 id Word, Excel. Under
each col is a bunch of row, in this case each col has 3 rows.
Could you help me to transform and output the xml to an html table
like this - THANKS!
<table>
<tr>
<td>WORD</td>
<td>EXCEL</td>
</tr>
<tr>
<td>Word 1</td>
<td>Excel 1</td>
</tr>
<tr>
<td>Word 2</td>
<td>Excel 2</td>
</tr>
<tr>
<td>Word 3</td>
<td>Excel 3</td>
</tr>
</table>
---------------HERE'S THE XML:
<templates>
<col id="word">
<row>
<title>Word 1</title>
</row>
<row>
<title>Word 2</title>
</row>
<row>
<title>Word 3</title>
</row>
</col>
<col id="excel">
<row>
<title>Excel 1</title>
</row>
<row>
<title>Excel 2</title>
</row>
<row>
<title>Excel 3</title>
</row>
</col>
</templates>
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
