Hi Martin,
That makes sense. Thank you very much for the help.
Rick
-----Original Message-----
From: Martin Honnen martin.honnen@xxxxxx
[mailto:xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx]
If you process the current-group() with e.g.
<xsl:for-each select="current-group()">
<xsl:variable name="pos" select="position()"/>
<xsl:variable name="prec" select="current-group()[position() lt
$pos]"/>
<xsl:variable name="foll" select="current-group()[position() gt
$pos]"/>
...
</xsl:for-each>
or use the same approach with <xsl:apply-templates
select="current-group()"/> then you can access the items in a group
preceding or following the current item in the group.
|