xsl-list
[Top] [All Lists]

Generating HTML table

2004-03-05 05:10:32
Hi

My XML file looks like this:

<items>
        <item>Item 1</item>
        <item>Item 2</item>
        <item>Item 3</item>
        <item>Item 4</item>
        <item>Item 5</item>
        <item>Item 6</item>
        ...
</item>

And I would like to create an HTML table which looks like this, from my XML
file:

<table>
        <tr>
                <td>
                        Item 1
                        Item 5
                </td>
                <td>
                        Item 2
                        Item 6
                </td>
                <td>
                        Item 3
                </td>
                <td>
                        Item 4
                </td>
        </tr>
</table>

I.e. four columns which are "populated" with items horisontally.

Is this possible to do with XSLT?

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>