[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] fo:table


Subject: Re: [xsl] fo:table
From: ronald heller <ronald@xxxxxxxxxxx>
Date: Mon, 20 Aug 2001 16:52:05 +0200

I recognize this problem,

what I did (I had no time to find a proper solution) is making sure there was always some content in fo:block.
If your'e not sure your <xsl:value-of select="whatever"/> returns a value, make sure your block is at least filled with a single white space or something. It did the trick for me, maybe it's something else, maybe it's not..


Maybe you will give it a try, maybe you will not :-)

Ronald

At 08:49 AM 8/20/01 -0500, you wrote:


I'm having a problem generating a PDF from XML.  I've narrowed the problem
down to the following snippet of XSL:

<fo:table-cell>
<fo:block><xsl:value-of select="whatever"/></fo:block>
</fo:table-cell>

This XSL causes the Apache FOP to go into an infinite loop.

if I substitute the above XSL with this:

<fo:table-cell>
<fo:block>Plain Text</fo:block>
</fo:table-cell>

Then there is no problem.

Only when I use an xsl namespace tag in fo:table-cell/fo:block will it loop.

The resulting FO output from the non-plain text XSL looks like this:

"<fo:table-cell><fo:block>

Online insertion and removal</fo:block></fo:table-cell>"

Any suggestions as to the resolution would be appreciated.


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords
xsl