473,398 Members | 2,343 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

XSL-FO Page Breaks in Nested Tables

Hello,

I am having an issue with page breaking that I hope someone will be
able to help me with. Still a relative "newbie", and I thought this
might be a good place to find some help. I have a complex FO that
contains nested tables. There are a few places where my breaks are not
being rendered, although other ones work fine. I've made an FO that
can reproduce this behavior. It is:

<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master master-name="many" page-width="11in"
page-height="8.5in">
<fo:region-body region-name="xsl-region-body" margin=".5in"/>
<fo:region-before region-name="xsl-region-before" extent="0.5in"/>
<fo:region-after region-name="xsl-region-after" extent="0.5in"/>
</fo:simple-page-master>
<fo:page-sequence-master master-name="many-pages">
<fo:repeatable-page-master-reference master-reference="many"/>
</fo:page-sequence-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="many-pages"
initial-page-number="1">
<fo:flow flow-name="xsl-region-body">
<fo:block font-family="sans-serif" font-size="6pt">
<fo:table>
<fo:table-body>
<fo:table-row>
<fo:table-cell>
<fo:block>
<fo:table>
<fo:table-row>
<fo:table-cell>
<fo:block>Page Item 1</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell>
<fo:block>
<fo:table>
<fo:table-row>
<fo:table-cell>
<fo:block>Detail 1A</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell>
<fo:block>Detail 1B</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table>
</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row break-before="page">
<fo:table-cell>
<fo:block>Page Item 2</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell>
<fo:block>
<fo:table>
<fo:table-row>
<fo:table-cell>
<fo:block>Detail 2A</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell>
<fo:block>Detail 2B</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table>
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table>
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>

For this example, I would want it to produce two seperate pages. The
first with:

Page Item 1
Detail 1A
Detail 1B

And a second:

Page Item 2
Detail 2A
Detail 2B

Unfortunately, all of these items appear on a single page.

If at all possible, I would like to keep the structure as close to what
it is now as possible. Not that I like the way that it is layed out,
but I want to minimize risk to other data that the XSLT is run through
to produce this FO.

Also, I am using Ibex as a processor, if that is of help to anyone.

Thank you for your time!

Joseph

Jul 20 '05 #1
1 2709
I was able to correct the issue with help of the vendor for my
processor. By migrating to the most current release of Ibex's PDF
Creator 3.3.0, this issue has been eliminated.

Thank you!

Joseph

Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Jean-Christophe Michel | last post by:
Hi, In a complex merging of two (non ordered) xml files i need to keep track of the elements of the second tree that were already merged with first tree, to copy only unused elements at the end....
1
by: Philip | last post by:
Hi, I am trying to output certain nodes inside another. I have an xml template with field definitions for a form, and this includes textfields, labels, checkboxes etc plus fieldssets. I defined...
8
by: Sebastian Kerekes | last post by:
Greetings, I'm developing an application that supports multiple languages. In my XSL I use variables to place the text where it belongs to. At the top of the document I include those variables -...
0
by: Jimmy | last post by:
Hi, I have a (multi-tier) XML document and a XSL transform file (that is meant to transform the XML into a flat structure so I can insert the data into a database table). I have reached a...
1
by: discomiller | last post by:
Mario Mueller: Hello *, radiobuttons belong to other radiobuttons by the "name="any_value"" attribut. Thats a fakt. I got the following XML:...
11
by: Rolf Barbakken | last post by:
I have an xml with records like this one: <a:response> <a:href>http://server/public/sol/comp/1049306.eml</a:href> <a:propstat> <a:status>HTTP/1.1 200 OK</a:status> <a:prop>...
6
by: Mark Miller | last post by:
I have a scheduled job that uses different XSL templates to transform XML and save it to disk. I am having problems with the code below. The problem shows up on both my development machine (Windows...
6
by: dave | last post by:
I really have 2 questions regarding the following xml snippet. The xml is a directory representation. <?xml version="1.0" standalone="yes"?> <FileSystem> <Row> <ID>1</ID> <Name>Root</Name>...
1
by: sommarlov | last post by:
Hi everyone >From one of our systems an xml file is produced. I need to validate this file before we send it to an external system for a very lenghty process. I cannot change the xml file layout....
2
by: shapper | last post by:
Hello, I am for days trying to apply a XSL transformation to a XML file and display the result in a the browser. I am using Asp.Net 2.0. Please, could someone post just a simple code example,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.