Clarification require on use - xsl:for-each-group
Hi All,
I am using Saxonb8.6 the latest version which supplies an error message as follows.
Following is XSL file.
<xsl:template match="*">
<xsl:copy>
<xsl:for-each-group group-adjacent="self::procplace or self::proctopic">
<xsl:choose>
<xsl:when test="current-grouping-key()">
<meeting>
<xsl:apply-templates select="current-group()"/>
</meeting>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="current-group()"/>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each-group>
</xsl:copy>
</xsl:template>
Error at xsl:for-each-group on line 14 of file:/C:/box/axe.xsl:
XTSE0010: Element must have a "select" attribute
Warning: on line 14 of file:/C:/box/axe.xsl:
The self axis will never select any ** error ** nodes when starting at a element() node
Warning: on line 14 of file:/C:/box/axe.xsl:
The self axis will never select any ** error ** nodes when starting at a element() node
I would greatly appreciate any help provided.
Thanks & Regards,
- ROCXY
__________________
Thanks,
Rocxy.
|