Kirk Woerner wrote: ... > <xsl:if test="../ITEM[$pos + 1]"> > <xsl:value-of select="../ITEM[$pos + 1]"/> > </xsl:if> Some nitpicking: The xsl:if is actually redundant.
The problem is a FAQ over there in [EMAIL PROTECTED], it's also known as "grouping by position". The XSL FAQ at http://www.dpawson.co.uk/ has all the answers. J.Pietschmann --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>