Table row content lost when using keep within attribute!

Here should go questions about transforming XML with XSLT and FOP.
mu258770
Posts: 105

Table row content lost when using keep within attribute!

Tue Nov 10, 2015 4:09 pm

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: 319
Location: Craiova

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

Tue Nov 10, 2015 4:44 pm

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: 105

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

Thu Nov 12, 2015 2:47 pm

Hi Radu,

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

Regards,
Shabeer
bogdan_cercelaru
Posts: 200

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

Fri Nov 13, 2015 4:05 pm

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

Return to “XSLT and FOP”

Who is online

Users browsing this forum: No registered users and 3 guests