[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] row num


Subject: Re: [xsl] row num
From: Renate <renaate@xxxxxxxxx>
Date: Wed, 28 Jun 2006 22:50:45 +0300

When I write like this:
<xsl:for-each select="(ROWSET/ROW/SECTIONS/SECTIONS_ROW)[position() = 9]">
then it is ok.

But when I write <xsl:for-each
select="(ROWSET/ROW/SECTIONS/SECTIONS_ROW)[position() < 9]">
then error happens. System doesn't like "<" sign.

What to do?

On 6/28/06, Renate <renaate@xxxxxxxxx> wrote:
When I write any of these I've got error:

Expected ']' instead of ' 9'.

On 6/28/06, Geert Josten <geert.josten@xxxxxxxxxxx> wrote:
> > <xsl:for-each select="ROWSET/ROW/SECTIONS/SECTIONS_ROW where num < 9">
> >
> > How should I write it properly?
>
> Either:
>
> ROWSET/ROW/SECTIONS/SECTIONS_ROW[position() < 9]
>
> or:
>
> (ROWSET/ROW/SECTIONS/SECTIONS_ROW)[position() < 9]
>
> depending on what you want to achieve..
>
> Kind regards,
> Geert
>
>
> Drs. G.P.H. Josten
> Consultant
>
>
>
> Daidalos BV
> Source of Innovation
> Hoekeindsehof 1-4
> 2665  JZ  Bleiswijk
> Tel.: +31 (0) 10 850 1200
> Fax: +31 (0) 10 850 1199
> www.daidalos.nl
>
>
> De informatie - verzonden in of met dit emailbericht - is afkomstig van Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit bericht kunnen geen rechten worden ontleend.


Current Thread