Hi there,
 
we're working in a project to generate PDF reports.
We just started using cocoon, in our pipeline we have
as the before last stage some transformation using a
xsl stylesheet to convert from plain XML to IText (basically
introducing IText tags). At the last stage we use a serializer
to generate the PDF file.
 
PROBLEM: IText seems to ignore newlines that we have in some
text in the report. We tried to use some template
in the xsl that used recursion to go thru the text and
replace all occurrences of newlines for the tag <newline/>
for IText. This worked fine, but depending on the
size of the text we started having stack overflow (it seems
to be a well known problem with XSLT).
I know that the XML to PDF part in iText is for the moment
'discontinued', but can anyone give an ideia how to solve this?
 
Thanks in advance.

Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam

Reply via email to