🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fr.comp.text.xml
Article #8311

Re: xslt

#8311
From: Alain Ketterlin
Date: Mon, 19 Nov 2001 14:23
22 lines
1525 bytes
Philippe Batailler <pbatailler@teaser.fr> writes:

> Je n'arrive pas � �crire une expression disant :
> si l'�l�ment suivant est tel �l�ment.
> 
> ex: 
> <xsl:template match="tag">
> 
> <xsl:if test= si l'�l�ment suivant l'�l�ment <tag> en cours est tel �l�ment.

<xsl:if test="following-sibling::*[1]/self::tel-element">

(et pas following-sibling::tel-element, parce que dans ce cas il peut
y avoir plusieurs elements avant le tel-element).

> <xsl:text disable-output-escaping="yes">
> &lt;varlistentry&gt;
> </xsl:text>

T'es sur de ton coup la ?

-- Alain.
Technical Details
Message-ID: <wyu1vq3kmq.fsf@polya.u-strasbg.fr>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!213.56.195.71!fr.usenet-edu.net!usenet-edu.net!ciril.fr!news.u-strasbg.fr!not-for-mail
References: <87lmh2g5wn.fsf@clalis.pclnet>

Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII
X-Google-Thread: 114f60,6f15fa792995f48a
X-Google-Attributes: gid114f60,public
X-Google-ArrivalTime: 2001-11-19 07:12:00 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!213.56.195.71!fr.usenet-edu.net!usenet-edu.net!ciril.fr!news.u-strasbg.fr!not-for-mail
From: Alain Ketterlin <alain@dpt-info.u-strasbg.fr>
Newsgroups: fr.comp.text.xml
Subject: Re: xslt
Date: 19 Nov 2001 15:23:09 +0100
Organization: CRC - Universite Louis Pasteur Strasbourg France
Lines: 22
Message-ID: <wyu1vq3kmq.fsf@polya.u-strasbg.fr>
References: <87lmh2g5wn.fsf@clalis.pclnet>
NNTP-Posting-Host: polya.u-strasbg.fr
X-Trace: news.u-strasbg.fr 1006187578 5237 130.79.44.199 (19 Nov 2001 16:32:58 GMT)
X-Complaints-To: usenet@u-strasbg.fr
NNTP-Posting-Date: 19 Nov 2001 16:32:58 GMT
X-Newsreader: Gnus v5.6.45/XEmacs 21.1 - "Capitol Reef"