xsl-list
[Top] [All Lists]

<xsl:number> in XPath

2004-12-09 07:13:42
Searching the archives i found that

<xsl:number level="any" count="*" from="parent"/>

will give the "absolute position" of a node in the tree.

How can i use a similar expression on a XPath expression?

Something like

select="//menu[absoluteposition()=$pos]


where pos is a paramater number?

Thanks.




O SAPO já está livre de vírus com a Panda Software, fique você também!
Clique em: http://antivirus.sapo.pt

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