Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > page break priority

Reply
Thread Tools

page break priority

 
 
Vladimir
Guest
Posts: n/a
 
      01-21-2004
Hi!!!
I'm new to XSL, XSL-FO. I'm having xml file as an input and have to
generate pdf using FOP. I'm interested if there's some way to do
page-breaking based on certain rules in XSL. My XML is something like
<product>
<category>
<article>
</article>
...
</separator>
</category>

<category>
</separator>
</category>
....
</product>
(btw, I put this part of XML into <fo:table>)
Can I put this rule in XSL: if the table is too large for one page, I
should do the page breaking at the last category (the one that doesn't
fit in the page), if it's too large for next page, I should do the
page breaking at the last separator...
Any kind of help will be very appreciated.
 
Reply With Quote
 
 
 
 
Patrick TJ McPhee
Guest
Posts: n/a
 
      01-22-2004
In article < >,
Vladimir <> wrote:

% Can I put this rule in XSL: if the table is too large for one page, I
% should do the page breaking at the last category (the one that doesn't
% fit in the page), if it's too large for next page, I should do the
% page breaking at the last separator...

Set the keep-together and keep-with-previous properties for each
affected table row (i.e., set keep-together for every row and
keep-with-previous for each row excep the category one).

--

Patrick TJ McPhee
East York Canada

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
efficient priority queue for a few descrete priority levels Marcel Müller C++ 3 04-27-2009 03:22 PM
D300 BUG in Aperture Priority & Shutter Priority Mode Chico Digital Photography 21 06-23-2008 01:55 PM
Shutter Priority Vs. Aperture Priority Question mutefan@yahoo.com Digital Photography 13 09-14-2006 03:51 PM
Should I use shutter-priority or appurature-priority? ½ Confused Digital Photography 4 02-22-2006 09:48 AM
Question about Aperture priority and Shutter Priority John Edwards Digital Photography 8 01-05-2005 04:58 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57