I have a long list of nodes, which I'd like to display in a simple tabular grid, with three columns and many rows. How would this be done using XSLT templates, as I'm struggling to find an example anywhere?
I've tried the following, but can't seem to get it to loop through the td's three times per tr. Everything I've tried just puts each td in a new tr:
Simple table row example with XSLT templates
Hi,
I have a long list of nodes, which I'd like to display in a simple tabular grid, with three columns and many rows. How would this be done using XSLT templates, as I'm struggling to find an example anywhere?
I've tried the following, but can't seem to get it to loop through the td's three times per tr. Everything I've tried just puts each td in a new tr:
Can anyone suggest how to do this?
Thanks
Hi Dan,
You're off to a good start already, you just need to find out how to only start every third row, right?
Take a look at the answer I posted here: http://our.umbraco.org/forum/developers/xslt/11527-Problem-with-listing-HTLM-strcuture-with-XSLT
It's for a 2-column table, but can be modified for your example - something along the lines of this:
/Chriztian
Perfect, thanks Chriztian!
Hi All,
I made a similar table with xslt. But is there a way to fill up empty table cells?
is working on a reply...