use the position() mod 3 syntax with an <xsl:choose> block.
thus:
<xsl:when test="posion() mod 3 = 0">, then output the start tag, and
<xsl:when test="position mod 3 = 2">, then output the end tag.
G
It would be difficult to do that and be well formed XML......
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list