xsl-list
[Top] [All Lists]

RE: XSLT and FO/FOP workarounding

2004-09-13 07:51:00
SANWAL, ABHISHEK (HP-Houston) <mailto:abhishek(_dot_)sanwal(_at_)hp(_dot_)com> 
wrote on
Monday, September 13, 2004 4:31 PM:

I believe it is "fo:keep-together". I also believe that the
last version of Apache FOP that I used implemented this feature.

As my XSLT stylesheet shows:

<fo:table-row keep-with-next="always">

Ofcourse, if FOP implements this "keep-together"
functionality only for certain elements, then I might suggest
encapsulating them into an element that does support it.

I do that with the XSLT template that i wrote.

I have used a similar work around once as you may observe
from the xsl code snippet below. I have been able to use
<fo:table-row> elements to be the "encapsulation" that keeps
everything inside on the same page. Ofcourse, this leads to
"nesting", but I have not found a better way of getting
around, and so far have been very successful (lucky maybe)
using a whole lot of nested tables under FO (Can anyone
suggest some work arounds to prevent nested tables in FO,
especially when you have diverse XML Tree content that has to
be rendered "complete" ?)

I just have to get the template for the following tags working that they are
ignored. 

Sorry, but maybe you read my mail one more time (maybe my english is bad,
but you understood me wrong).

--

Sönke



<Prev in Thread] Current Thread [Next in Thread>