Is XSLT able to solve this (should it ?):
Sort, once, a list of elements and generate a table with the sorted list,
with the number of elements per row given in the stylesheet:
For example:
<data>
<item>b</item>
<item>a</item>
<item>d</item>
<item>c</item>
</data>
gives, with 2 elements per row:
<table>
<tr> <td>a</td> <td>b</td> </tr>
<tr> <td>c</td> <td>d</td> </tr>
</table>
Olivier
---
Olivier Corby, Acacia project, INRIA Sophia Antipolis
email : Olivier.Corby@xxxxxxxxxxxxxxx tel : +33 4 92 38 78 71
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|