Re: [xsl] Without parentnode, how to matchng first and last position of the list-item

Subject: Re: [xsl] Without parentnode, how to matchng first and last position of the list-item
From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx>
Date: Thu, 13 Nov 2008 12:04:11 +0530
On Thu, Nov 13, 2008 at 11:58 AM, V.Ramkumar
<v.ramkumar@xxxxxxxxxxxxxxxxxxxxxx> > I am getting error: Line #121;
Column #93; xsl:for-each-group is not allowed
> in this position in the stylesheet!.
>
> Here: <xsl:for-each-group select="*"
> group-adjacent="string(self::p/@class[contains(.,'List')])">

It seems you are using a XSLT 1.0 processor (seems like, Xalan).
xsl:for-each-group is an instruction which was introduced in XSLT 2.0
(which Xalan doesn't support yet).

You need to download an XSLT 2.0 processor to run this (2.0)
stylesheet. I would recommend using Saxon (www.saxonica.com).


-- 
Regards,
Mukul Gandhi

Current Thread