sdx-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sdx-users] Elément précédent


From: Frédéric Glorieux
Subject: Re: [sdx-users] Elément précédent
Date: Tue, 14 Jun 2005 19:34:50 +0200
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

Michel Bottin wrote:
Bonjour,

Question probablement idiote mais comment déterminer en XSLT le nom de l'élément précédent l'élément courant.
Exemple si le document XML est du type:
<root>
...
             <un>...</un>
             <deux>...</deux>
             <trois>... </trois>
...
</root>

si l'élément courant est "trois", comment savoir que l'élément précédent a pour nom "deux" ?

Quelque chose comme cela ?

name(preceding-sibling::*[1])


--
Frédéric Glorieux ("AJLSM", <http://ajlsm.com>)






reply via email to

[Prev in Thread] Current Thread [Next in Thread]