[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Jostein Austvik Jacobsen wrote:
--
Re: [xsl] Grouping by attribute
Subject: Re: [xsl] Grouping by attribute From: Martin Honnen <Martin.Honnen@xxxxxx> Date: Thu, 22 Oct 2009 17:25:40 +0200 |
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/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Grouping by attribute, Jostein Austvik Jaco | Thread | [xsl] Replace one entity with anoth, Keith Gilbert |
[xsl] Assistance with position-bas, Michael Friedman | Date | RE: [xsl] Assistance with position-, Michael Kay |
Month |