Re: Fo-Condition check

Tony,
The car related data is simple type of car like Toyota, Honda.........
You got my point? if i dont have any data in xml file through i am going to
populate data using the fo template then it should not give output.
Regards,
Saqib Javed

On Fri, May 2, 2008 at 3:01 PM, Tony Graham <
Tony.Graham@menteithconsulting.com> wrote:

> Saqib,
>
> It would be preferable if you replied on the mailing list so everybody
> can follow.
>
> On Fri, May 02 2008 10:45:23 +0100, saqib.javed@gmail.com wrote:
> > actually it is related with that issue. What i want to do is that if i
> put an
> > if statement
> > like
> > <xsl:if test="car = '????'">
> >     <fo:inline color="rgb(255,0,0)" font-family="Arial" font-size="16pt"
> >
> >          Test
> >     </fo:inline>
> > </xsl:if>
> >
> > What I want to do is that if i have car related data in my xml file then
> it
> > should print test but if i dont have car related data then this
> statement
> > should not execute.
>
> Which is why I asked for sample input.  Until you tell us what the
> car-related data looks like, we can't help you make the XPath that tests
> for its existence.
>
> 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 Friday, 2 May 2008 10:06:57 UTC