W3C home > Mailing lists > Public > www-xsl-fo@w3.org > April 2008

Re: Conditional Statement

From: Tony Graham <Tony.Graham@MenteithConsulting.com>
Date: Wed, 23 Apr 2008 08:30:29 +0100
To: www-xsl-fo@w3.org
Message-ID: <87skxd3u5m.fsf@zako.menteithconsulting.com>

On Wed, Apr 23 2008 06:59:52 +0100, saqib.javed@gmail.com wrote:
> How can i handle conditional statements of if-else in xsl-fo. i have done with
> if condition but i also need else condition to put in my fo file.

xsl:choose [1][2]

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

[1] http://www.w3.org/TR/xslt#section-Conditional-Processing-with-xsl:choose
[2] http://www.w3.org/TR/xslt20/#xsl-choose
Received on Wednesday, 23 April 2008 07:30:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 23 April 2008 07:30:58 GMT