Subject: Re: [xsl] Grouping problem. 2.0 From: Dave Pawson <davep@xxxxxxxxxxxxx> Date: Fri, 04 Jul 2008 16:43:17 +0100 |
Dave Pawson wrote:
<xsl:apply-templates select="following-sibling::para[preceding::title[1]=$this]" mode='group'/>
I think you want to compare node identity so with XSLT 2.0 you should do
select="following-sibling::para[preceding::title[1] is $this]"
or with XSLT 1.0 you should compare the generate-id results:
select="following-sibling::para[generate-id(preceding::title[1]) = generate-id($this)]"
That parts working fine Martin. It's just the numbering!
-- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Grouping problem. 2.0, Martin Honnen | Thread | Re: [xsl] Grouping problem. 2.0, David Carlisle |
Re: [xsl] Grouping problem. 2.0, Martin Honnen | Date | Re: [xsl] Grouping problem. 2.0, David Carlisle |
Month |