[xsl] <xsl:number> in XPath

Subject: [xsl] <xsl:number> in XPath
From: António Mota <xptm@xxxxxxx>
Date: Thu, 9 Dec 2004 14:13:42 +0000
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 ja esta livre de vmrus com a Panda Software, fique vocj tambim!
Clique em: http://antivirus.sapo.pt

Current Thread