these is my xml
<elemetns>
<item>...</item>
<item>...</item>
<item>...</item>
<item>...</item>
...
<item>...</item>
<elemetns>
the out put shoud create a html table with 4 colums
<xsl:template match="Item" mode="single">
from current position 4 items and build the first row with item data
</xsl:template>
Any ideas?
The following approach should help:
Another way to do it with xslt 1.0 is to use keys:
Given this XML:
the following stylesheet
produces the following result:
Please note that with the
handle-colspan
template I'm inserting additionaltd
elements in order to produce correct tables.