Article View: fr.comp.text.xml
Article #10407Re: Existance de balise
From: Tom
Date: Tue, 17 Oct 2000 00:00
Date: Tue, 17 Oct 2000 00:00
20 lines
1104 bytes
1104 bytes
In article <8sh1og$15ts$1@news4.isdnet.net>,
"Sandra" <sandra@sa.nomade.fr> wrote:
> J'aimerais pouvoir faire un test sur l'existance d'une balise
> du style <xsl:if test="id">
> ...mes actions
> </xsl:if>
> sinon ... autre action
>
> le soucis c'est que le else n'existe pas.
<xsl:choose>
<xsl:when test="id">
...tes actions
</xsl:when>
<xsl:otherwise>
... autre action
</xsl:otherwise>
</xsl:choose>
HTH
Technical Details
Message-ID:
<ktbhs8.cr.ln@127.0.0.1>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<8sh1og$15ts$1@news4.isdnet.net>Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII-7-bit X-Google-Thread: 114f60,2af99b392538d164 X-Google-Attributes: gid114f60,public From: "Tom" <ptittom@free.fr> Subject: Re: Existance de balise Date: 2000/10/17 Message-ID: <ktbhs8.cr.ln@127.0.0.1> X-Deja-AN: 682424194 References: <8sh1og$15ts$1@news4.isdnet.net> X-Complaints-To: abuse@proxad.net X-No-Productlinks: Yes X-Trace: nnrp6.proxad.net 971781900 213.228.43.231 (Tue, 17 Oct 2000 13:25:00 CEST) Organization: Guest of ProXad - France User-Agent: Pan/0.8.1beta4 (Unix) NNTP-Posting-Date: Tue, 17 Oct 2000 13:25:00 CEST Newsgroups: fr.comp.text.xml