← Prev in month ← Prev in thread

Long text inclusions that don't break anymore

From
Dennison, Cheri <>
Date
2008-08-20T00:10:17+00:00
ID
Thread
Long text inclusions that don't break anymore
Howdy!

I'm upgrading to FOP 0.95 from 0.20.5 and from 1.70.1 to
1.74 for the DB stylesheets. I’ve got a guide that has code snippets
xincluded, like so (from Bob’s section “Using XInclude for text
inclusions”):

 

<example><title>My
program listing</title>

  <programlisting><xi:include 
href=""mycode.c" " parse="text"  

     
xmlns:xi="http://www.w3.org/2001/XInclude"/></programlisting>

</example>

 

With FOP 0.95/1.74.0 stylesheets, any long code snippets
that normally break correctly across multiple pages no longer occupy multiple
pages. Instead, the code snippet tries to be on a single PDF page (bleeding
into the header/footer). If it’s longer than the full page, the top part
and bottom part of the snippet gets cut off and is not displayed. If I just
copy the code directly into the XML instead of xincluding it, it breaks fine across
pages as expected.

 

Is this issue with Xincluded code snippets a known problem? Is
there anything I can do about it? My apologies if this has been discussed; I tried
looking in the archives and had no luck.

 

Muchas muchas gracias!

cheri

-- 

Cheri Dennison /
Technical Writer

AWS Platform Group 

← Prev in month ← Prev in thread