xsl-list
[Top] [All Lists]

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

2008-11-13 01:34:33
On Thu, Nov 13, 2008 at 11:58 AM, V.Ramkumar
<v(_dot_)ramkumar(_at_)macmillansolutions(_dot_)com> > 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

--~------------------------------------------------------------------
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>
--~--