Re: Xpath et position()

"Nicolas Delaby" <[email protected]>
Newsgroups gmane.text.xml.french.tech
Message-ID <[email protected]>
>
> Si ce n'est pas possible compte tenu de ce que vous cherchez à faire,
> vous pouvez compter les éléments <a/> précédents pour obtenir le même
> résultat : "count(preceding::a) + 1" devrait faire l'affaire!
>
>
Voilà qui m'est bien utile.
Je vous remercie grandement pour cette astuce !
--

Nicolas Delaby
http://ticosax.free.fr/
http://dlgz.free.fr/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.