Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: Generating 2x2 table Generating 2x2 tableTo: NULL Date: 1/1/2006 8:28:00 PM Hi all, sorry about the simple question but I'm new to XSL. I have a
XML with 4 elements, for example:
<root>
<products>
<product>
<id>1</id>
</product>
<product>
<id>2</id>
</product>
<product>
<id>3</id>
</product>
<product>
<id>4</id>
</product>
</products>
</root>
What I want to do is to generate a HTML table with 2 columns(2
products) in each row.
<table>
<tr>
<td>Product 1</td>
<td>Product 2</td>
</tr>
<tr>
<td>Product 3</td>
<td>Product 4</td>
</tr>
</table>
I've tried a lot of ways to a XSL to do this but couldn't get XSL for
it.
Please, Do you have an idea ?
P.S.: Sorry about my english.
--
Alberto Cardinalli Jr.
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
