create 2-columns table from an XML document
Hi all,
I have an XML document with a list of names.
Something like this
<NAMES>
<NAME> Jean Dupont </NAME>
<NAME> Marie Laforêt </NAME>
<NAME> Celine Dion </NAME>
<NAME> Carlos Santana </NAME>
...
</NAMES>
I want to create an XSLT stylesheet that could output the names in a HTML table with 2 names per row
Something like this
+---------------------------------+
| Jean Dupont | Marie Laforêt |
| Celine Dion | Carlos Santana |
+---------------------------------+
There can be an arbitrary number of names and I can't modify the XML structure (but I can add attributes to it if it helps)
I'm quite new in XSLT and I don't know if such a thing would be possible without too much complexity.
Thanks to anyone that could help ...
|