Re: FO-Condition More Related Q?

On Mon, May 05 2008 10:51:22 +0100, saqib.javed@gmail.com wrote:
> This question is related to the FO-Condition, for condition check there is a
> support of chosse,when and otherwise which in classic programing language can
> be said to be if else condition, but if i have something like if-elseif-else.
> then is this kind of scenario supported in FO?

<xsl:choose>
  <xsl:when test="...">
     ...
  </xsl:when>
  <xsl:when test="...">
     ...
  </xsl:when>
  <xsl:otherwise>
     ...
  </xsl:otherwise>
</xsl:choose>

It seems to me that a good XSLT book or some training would give you the
answers to these sorts of questions more quickly than your having to ask
them piecemeal on a mailing list.

One useful reference in Dave Pawson's XSLT FAQ at
http://www.dpawson.co.uk/xsl/index.html

Regards,


Tony Graham                         Tony.Graham@MenteithConsulting.com
Director                                  W3C XSL FO SG Invited Expert
Menteith Consulting Ltd
XML, XSL and XSLT consulting, programming and training
Registered Office: 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland
Registered in Ireland - No. 428599   http://www.menteithconsulting.com
  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --
xmlroff XSL Formatter                               http://xmlroff.org
xslide Emacs mode                  http://www.menteith.com/wiki/xslide
Unicode: A Primer                               urn:isbn:0-7645-4625-2

Received on Monday, 5 May 2008 10:28:59 UTC