...ok, scusate, non avevo capito come usare il codice...
Però non so implementare un "if" in xml... Come si fa?
codice:
<table ...>
<tr>
<xsl:for-each select="specials/menu_item">
<if "specials/menu_item[(position()-1) mod 4 = 0]">
{
<tr>
<td ...>
[img]{img_small}[/img]
<xsl:value-of select="description"/>
</td>
</xsl:for-each>
<td ...> </td>
<td ...> </td>
<td ...> </td>
</tr>
}
<td ...>
[img]{img_small}[/img]
<xsl:value-of select="description"/>
</td>
</xsl:for-each>
<td ...> </td>
<td ...> </td>
<td ...> </td>
</tr>
</table>