Re: [xsl] <xsl:number> in XPath

Subject: Re: [xsl] <xsl:number> in XPath
From: António Mota <xptm@xxxxxxx>
Date: Thu, 9 Dec 2004 14:35:25 +0000
My God, allmost a day i've been trying around position(), and i forgot to put
the //menu inside parenthesis...

I just want to kick myself... I'm going to do it!

Thanks David, you're been a real help in the past two days.



Citando David Carlisle <davidc@xxxxxxxxx>:

>
>    Something like
>
>   select="//menu[absoluteposition()=$pos]
>
>  (//menu)[position()=$pos]
>
> or if $pos is a number (rather than just a string that looks like a
> number)
>
>
>
>  (//menu)[$pos]
>
> David
>
> ________________________________________________________________________
> This e-mail has been scanned for all viruses by Star. The
> service is powered by MessageLabs. For more information on a proactive
> anti-virus service working around the clock, around the globe, visit:
> http://www.star.net.uk
> ________________________________________________________________________

Current Thread