I thinkk you want
<xsl:for-each-group select="*" group-adjacent="starts-with(local-name(),'b')">
<xsl:choose>
<xsl:when test="current-grouping-key()">
<b>
<xsl:copy-of select="current-group()"/>
</b>
<xsl:otherwise>
<xsl:copy-of select="current-group()"/>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each-group>
David
--~------------------------------------------------------------------
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>
--~--