What little we can see from your source code doesn't look bad. It's most
likely a problem in your FO rather than in your Java coder. I suggest
you generate an FO file from your XML + XSLT and analyze that. You can
post a small FO file (not XSLT!!!) here if you want any of us to take a
look.

Most likely problem: 
http://xmlgraphics.apache.org/fop/faq.html#blank-page-between-page-sequences

Note: I've never used StyleVision.

On 12.07.2006 13:25:22 karno wrote:
> Hi everyone,
> 
> i'm a little new to Fop and i use the 0.92b version.
> 
> my goal is to produce rtf (and pdf) docs, and I use Altova StyleVision to
> create xslt files and then use them in FOP.
> I would like to know if anyone does the same thing , because i have a
> problem and always produce a blank page ???
> 
> NB : i create xslt 1.0 stylesheet (i get more errors with xslt2.0)
> 
> 
> I may have made mistakes, to create my rtf doc, i use the exemple on this
> page :
> http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/examples/embedding/java/embedding/ExampleXML2PDF.java?view=markup
> 
> and i have changed the following lines
> 
> ......
> 
>    // Setup output
>             OutputStream out = new java.io.FileOutputStream(myRtfFile);
>             out = new java.io.BufferedOutputStream(out);
> 
>    try {
>                 // Construct fop with desired output format
>                 Fop fop = fopFactory.newFop (MimeConstants.MIME_RTF,
> foUserAgent, out);
> 
>                ......
> 
>                // Set the value of a <param> in the stylesheet
>                 transformer.setParameter("versionParam", " 1.0");
> 
>                ......
>     }
> 
> i thank you for your help..



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to