xsl-list
[Top] [All Lists]

Re: <xsl:number> in XPath

2004-12-09 07:35:25
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(_at_)nag(_dot_)co(_dot_)uk>:


   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
________________________________________________________________________

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




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



<Prev in Thread] Current Thread [Next in Thread>