Hi,
I am following criteria in my XSL:Fo, for classifying
the page layout...
<xsl:when test="((substring-before($WidthTmp,'pt')
<= 845.0) and (substring-before($HeightTmp,'pt')
> 598.0)) and substring-before($WidthTmp,'pt') <
substring-before($HeightTmp,'pt') ">
<xsl:call-template
name="Page_Layout_SetupA4Portrait_FitToFrame" />
</xsl:when>
<xsl:when test="(substring-before($WidthTmp,'pt')
>= 598.0) and (substring-before($HeightTmp,'pt')
<= 845.0) and (substring-before($HeightTmp,'pt')
< substring-before($WidthTmp,'pt'))">
<xsl:call-template
name="Page_Layout_SetupA4Landscape_FitToFrame"/>
</xsl:when>
Here I am using "and" operator.. Is it correct?
my inputs are width="838.8pt" height="607.68pt"
While running this code to generate a pdf, I getting
the following error msg..
Exceptionfile:///C:/Attachment.fo:15:2125 No
meaningful layout in
block after many attempts. Infinite loop is assumed.
Processing halted.
Can you identify where is the problem?
thanks in advance.
Regards,
Arul
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail