Re: [xsl] And operator usage in XSL

Subject: Re: [xsl] And operator usage in XSL
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 27 Jul 2004 15:53:58 +0100
> Can you identify where is the problem?

somewhere in some code you haven't shown us.

There are two completely different processes happening

1) The XSLT processor uses your  XSLT stylesheet to generate an FO
   document (perhaps as a file, perhaps just inmemory, depending on your
   processor) then
2) the XSL-FO processor reads the FO dcument and tries to typeset it to
   produce (typically) pdf.

Your error message came from the FO processor not from the XSLT
processor: it could find no way to typeset the document given the
constraints in the FO file.
We have no knowledge of what those constraints may be as they are
whatever is generated by your template. (Assuming that it is this block
that the FO renderer can not typeset, what makes you suspect that it is
the FO generated by this bit of XSLT that is causing the problem?

if width="838.8pt" height="607.68pt"

Then assuming $WidthTmp and $HeightTmp are those stings it looks like
the code you showed is OK and will choose the second branch, but that
doesn't seem directly related to your problem.


This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:

Current Thread