is it possible to find current-group node position when it is in for-each xslt
<xsl:variable name="cur" select="0" />
<xsl:for-each select="current-group()">
<xsl:if test="$cur=0 and flag !='0'">
<xsl:variable name="cur" select="$cur + 1" />
<!-- DO SOMETHING -->
</xsl:if>
</xsl:for-each>