Table row content lost when using keep within attribute!

Here should go questions about transforming XML with XSLT and FOP.
mu258770
Posts: 157
Joined: Mon Aug 18, 2014 4:11 pm

Table row content lost when using keep within attribute!

Post by mu258770 »

Hi team,

I have a query related to XSL:FO output generation.

For a table row, for not splitting it into two pages, we are keeping an attribute ' keep-together.within-page="always" '. This helps in avoiding splitting of table rows in multiple pages. But the problem comes when we have a row which has more content exceeding the page limit. When this occurs, the content is overflowing the page margin, and loosing the content.

Please let us know how we can get rid off this issue. We still don't want to split pages when there is lesser content in a row. But when it has larger content which cannot be fit in one page,it should split. Seems to be tough to handle both. Please help.

Regards,
Shabeer
radu_pisoi
Posts: 403
Joined: Thu Aug 21, 2003 11:36 am
Location: Craiova
Contact:

Re: Table row content lost when using keep within attribute!

Post by radu_pisoi »

Hi,

Have you tried: keep-together.within-page="5"?

This property value can be 'always' or a number. Numbers in general are weaker than page-breaks, whereas "always" is stronger.
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
mu258770
Posts: 157
Joined: Mon Aug 18, 2014 4:11 pm

Re: Table row content lost when using keep within attribute!

Post by mu258770 »

Hi Radu,

I have tried this, but this is also not working.

Regards,
Shabeer
bogdan_cercelaru
Posts: 222
Joined: Tue Jul 01, 2014 11:48 am

Re: Table row content lost when using keep within attribute!

Post by bogdan_cercelaru »

Hello,

I'm afraid I don't have a solution for this.

I would recommend to also register and ask this on the DITA users group discussion list:
https://groups.yahoo.com/neo/groups/dita-users/info
or the DITA-OT users group:
https://groups.google.com/forum/#!forum/dita-ot-users

Regards,
Bogdan
Bogdan Cercelaru
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply