You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by SA...@uk.ibm.com on 2001/02/14 15:55:20 UTC
XML to PDF
hi,
I have just started to use FOP recently and am having problems creating a
PDF from the attatched XML and XSL files.
Originally I created a .fo file with a letter of the format I required and
that went fine. As I have several similar letters to produce the next step
seemed to be to create a general XSL style sheet and use XML to specify the
actual contect for each letter. I created the XML and XSL files but then
found that the output PDF was not always 'complete'. If I varied the
content of the XML sometimes only part of the letter was produced - and
sometime none at all !!!
It almost looks to me as if sometimes the writer buffer is not completly
flushed. Has anyone else had a similar problem or can you see errors in my
XML / XSL (this is my first attempt) that could be causing such behaviour.
I did modify the calling code at one point to always output an intermediate
.fo file, but these looked fine to me also ...
(See attached file: letter.xsl)
(See attached file: letter.xml)
Regards
Kirsten Sadler
IBM Edinburgh, Buchan House, 21 Saint Andrew Square, Edinburgh, EH2 1AY
Telephone - Ext: +44 ( 0) 131 558 4184 Internal : 584184
email : kirsten_sadler@uk.ibm.com