How to Print in PDF using XSL-FO with FOP ????
Hello everyone,
I'm trying to print my Reports in PDF (with FOP) and I'd like to use XSL-FO to do the "presentation" of the Report (called "canvas" in Reports Builder).
I found the "Report Layout" section of the Shared Components which uses XSL-FO for the impression, however I don't understand how to create the XSL-FO :
- I get the XML code of the output, and the schema, using the "Report Queries" page and downloading them.
- Then I tried to generate the XSL-FO using XML Publisher with MS Word using the XML data file downloaded.
But when I put the XSL-FO generated code in the "Report Layout" section, the PDF created can't be opened because "file is corrupted" ...
Could anyone tell me what are the code rules of XSL-FO and how to use the XSL-FO code ??
Thanks,
Pierre C.