xsl-list
[Top] [All Lists]

Re: if/else xsl ?

2004-07-02 03:12:20
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


<Prev in Thread] Current Thread [Next in Thread>