Subject: RE: if/else xsl ?
From: "Pierre" <pierre@xxxxxxxxxxxxx>
Date: Fri, 2 Jul 2004 12:15:08 +0200
|
Thanks a lot to all for this help
It should be ok.
Pierre
-----Message d'origine-----
De : Michael Müller-Hillebrand [mailto:info@xxxxxxxxxxxxx]
Envoyé : vendredi 2 juillet 2004 11:12
À : xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Objet : Re: if/else xsl ?
It is not the shortest possibility, but that's the way XSL is doing this:
<xsl:choose>
<xsl:when test="...">
if stuff
</xsl:when>
<xsl:otherwise>
else stuff
</xsl:otherwise>
</xsl:choose>
- Michael
On 02.07.2004 (11:58 Uhr +0200), Pierre wrote:
>Hi guy i search some docs about if - else in xsl but can't fin it
>Any idea plz ?
>i have this and I wanna when @desc="pays" do other thing how can I do it ?
>thx for help
>
>Pierre
--
________________________________________________________________
Michael Müller-Hillebrand, Dipl.-Ing. <http://cap-studio.de/>
FrameMaker, FrameScript, XML/XSL,... Publishing-Lösungen
--+------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx>
--+--
|