Markus Ohlenroth markus(_dot_)ohlenroth(_at_)phil(_dot_)uni-augsburg(_dot_)de
wrote:
What values must the ?select? argument and/or the ?group-starting-with?
arguments have in my example
so that the resulting current-group() nodes are <p/> nodes (i.e. the
parent node) instead of <rStyle/> nodes.
Try
<xsl:template match="Root">
<xsl:copy>
<xsl:for-each-group select="p"
group-starting-with="p[rStyle[@val='Lemma']]">
<service>
<xsl:copy-of select="current-group()"/>
</service>
</xsl:for-each-group>
</xsl:copy>
</xsl:template>
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--