Hi all,
I'd be very grateful if someone could tell me the best method of
sorting a repeating unit of arbitrary length into equal parts, for
example.
<units>
<unit_1 />
<unit_2 />
<unit_3 />
<unit_4 />
<unit_5 />
<unit_6 />
<unit_7 />
<unit_8 />
<units>
into...
<part>
<unit_1 />
<unit_2 />
<unit_3 />
</part>
<part>
<unit_4 />
<unit_5 />
<unit_6 />
</part>
<part>
<unit_7 />
<unit_8 />
</part>
My experiments with for loops have come to naught.
Many thanks,
Gavin
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--