Jostein Austvik Jacobsen wrote:
<xsl:for-each-group select="./node()" group-starting-with="p |
quote
| illustration">
<xsl:choose>
<xsl:when test="(name(current-group()[1])='p')
or
(name(current-group()[1])='quote'))">
Such tests are better written as
<xsl:when test="self::p or self::quote">
--
Martin Honnen
http://msmvps.com/blogs/martin_honnen/
--~------------------------------------------------------------------
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>
--~--