RE: [xsl] XSLT and FO/FOP workarounding

Subject: RE: [xsl] XSLT and FO/FOP workarounding
From: Sönke Ruempler <ruempler@xxxxxxxxxxxxxxx>
Date: Mon, 13 Sep 2004 16:51:00 +0200
SANWAL, ABHISHEK (HP-Houston) <mailto:abhishek.sanwal@xxxxxx> 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).

--

Svnke

Current Thread