Subject: Re: if/else xsl ?
From: Michael Müller-Hillebrand <info@xxxxxxxxxxxxx>
Date: Fri, 2 Jul 2004 12:12:20 +0200
|
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
| Current Thread |
- if/else xsl ?
- Pierre - Fri, 2 Jul 2004 11:58:08 +0200
- David Carlisle - Fri, 2 Jul 2004 11:01:51 +0100
- Pierre - Fri, 2 Jul 2004 12:03:46 +0200
- Michael Müller-Hillebrand - Fri, 2 Jul 2004 12:12:20 +0200 <=
- Pierre - Fri, 2 Jul 2004 12:15:08 +0200
- Pierre - Fri, 2 Jul 2004 12:29:51 +0200
|
|