I've tried something like this (which XSLT doesn't seem to like):
How does it express its displeasure?
<xsl:template match="table">
<xsl:for-each-group select="tr"
group-starting-with="td/@colspan=5">
<xsl:value-of select="current-group()" />
</xsl:for-each-group>
</xsl:template>
Are you sure you want value-of and not copy-of?
Any help greatly appreciated. I'm using XSLT 2.0 with the
Saxon 8.1B processor.
That's about the last release but 10, which implements the last W3C
working-draft but 10. Few of us can remember what either the spec or the
software was like in those distant days. Please move forward.
Michael Kay
http://www.saxonica.com/
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--