xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arved Sandstrom" <Arved...@chebucto.ns.ca>
Subject Re: Page Breaks
Date Tue, 04 Dec 2001 14:05:50 GMT
Not everything needs to be XSLT. In this case you could preprocess with a
Perl one-liner that would be blazingly fast. Something like:

perl -i.bak -pe 's!\x0C!<ff/>!g;' XMLFILE

(Use double quotes on a Windows command-line). Then you'll have <ff/>
elements that you can act on in your XSLT.

Regards,
Arved Sandstrom

----- Original Message -----
From: "Jim Urban" <jim.urban@netsteps.net>
To: <fop-dev@xml.apache.org>
Sent: Tuesday, December 04, 2001 9:25 AM
Subject: RE: Page Breaks


> I'm using XSLT to translate XML into FO.  The field containing the form
> feeds is a text element.  I need to be able to do this using XSL.
>
> Jim
>
> -----Original Message-----
> From: Mike Akerman [mailto:mike@cavern.uark.edu]
> Sent: Monday, December 03, 2001 4:18 PM
> To: FOP Dev
> Subject: Re: Page Breaks
>
>
>
> On Mon, 3 Dec 2001, Jim Urban wrote:
>
> > I have a servlet which dynamically generates XML which is then
translated
> > into FO and ran through FOP to generate PDFs.  What can I embed (like a
> > "\f") in the XML text that will cause FOP to automatically start a new
> page?
> >
> > Thanks,
> >
> > Jim Urban
>
> I've translated "\f" into:
>
> </fo:flow>
> </fo:page-sequence>
> <fo:page-sequence master-name="simple">
> <fo:flow flow-name="xsl-region-body">
>
> If thats not sufficently clear, I could provide an example plain-text to
> xsl-fo conversion program I've written.
>
> Michael Akerman
>
>
> -----------------------------------------------------------------
>
> mike@cavern.uark.edu Information Services
> (501) 575-5870 University of Arkansas
> http://www.uark.edu/~mike
>
> -----------------------------------------------------------------
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
> For additional commands, email: fop-dev-help@xml.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
> For additional commands, email: fop-dev-help@xml.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Mime
View raw message