Output data in multiple columns

M

Marco

Hi, I've got an XML file containing some data.
For example, a list of friends:
<friend>
<name>XXX</name>
<surname>YYY</surname>
</friend>
<friend>
<name>KKK</name>
<surname>ZZZ</surname>
</friend>
....and so on.

I want to create an XSL file to transform the XML into a HTML table.
I'm able to generate one row per friend (every <friend> inside a <tr>
element).
But how can I put more than one friend per row?
Something like that:
<tr>
<td>XXX YYY</td>
<td>KKK ZZZ</td>
</tr>

Is it possible?

Bye
Marco
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,001
Messages
2,570,254
Members
46,849
Latest member
Fira

Latest Threads

Top