|
Subject: RE: [xsl] position of the parents node -> XSLT1.1 From: Florent Georges <darkman_spam@xxxxxxxx> Date: Tue, 9 May 2006 14:31:01 +0200 (CEST) |
news@xxxxxxxxxxx wrote:
> I need to know the position if the parents node of the
> current node in its parent node.
> Xpath's like this "parent::position()" dont'nt work.
It is normal. Following an axis, you must have a node test. For
example:
axis::text()
axis::elem-name
axis::*
In XSLT 1.0, you can use instead count(../preceding-sibling::*) + 1.
Regards,
--drkm
___________________________________________________________________________
Faites de Yahoo! votre page d'accueil sur le web pour retrouver directement vos services prifiris : virifiez vos nouveaux mails, lancez vos recherches et suivez l'actualiti en temps riel.
Rendez-vous sur http://fr.yahoo.com/set
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] position of the parents n, David Carlisle | Thread | RE: [xsl] position of the parents n, Wendell Piez |
| Re: [xsl] position of the parents n, David Carlisle | Date | RE: [xsl] position of the parents n, Wendell Piez |
| Month |