🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Existance de balise

#10405
From: Thierry Bezecourt
Date: Tue, 17 Oct 2000 00:00
26 lines
1293 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.

Il faut passer par un <xsl:choose>, m�me si �a peut para�tre lourd.

<xsl:choose>
  <xsl:when test='id'>... </xsl:when>
  <xsl:otherwise>...</xsl:otherwise>
</xsl:choose>



--
Thierry B�zecourt


Sent via Deja.com http://www.deja.com/
Before you buy.
Technical Details
Message-ID: <8sh63n$76d$1@nnrp1.deja.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <8sh1og$15ts$1@news4.isdnet.net>

Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII
X-Google-Thread: 114f60,2af99b392538d164
X-Google-Attributes: gid114f60,public
From: Thierry Bezecourt <thbz@thbz.cx>
Subject: Re: Existance de balise
Date: 2000/10/17
Message-ID: <8sh63n$76d$1@nnrp1.deja.com>
X-Deja-AN: 682394818
References: <8sh1og$15ts$1@news4.isdnet.net>
X-Http-Proxy: 1.0 srv66.globeid.com:8080 (Squid/2.3.STABLE1), 1.0 x54.deja.com:80 (Squid/1.1.22) for client unknown, 213.41.26.66
Organization: Deja.com - Before you buy.
X-Article-Creation-Date: Tue Oct 17 09:28:27 2000 GMT
X-MyDeja-Info: XMYDJUIDthrubis
Newsgroups: fr.comp.text.xml
X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)