You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Sandeep Takhar <sa...@yahoo.com> on 2001/02/25 19:57:30 UTC
new user....
I am currently using servlets with Xalan, Xerces and
FOP jar files to create an in-memory SAX
org.w3c.dom.Document (not sure what the difference is
between SAX and DOM, but I know the current system
uses SAX) and then rendering it to html or pdf in a
servlet. I am starting to worry about performance
issues and am wondering if cocoon will help me.
I have read through the on-line documentation and
perused through some discussions, but have been unable
to determine if I can use cocoon to some benefit.
Currently what I do is I create an in-memory xml
document and save it to disk. Then I parse this out
using the XSL engine. The stylesheets in question use
the java extension functions heavily in order to
display for two different languages. If my end-result
is html than I just send the output of the XSL
transformation to the screen, otherwise i have to save
the file as html, send this through another
transformation to save an fo file and then present
this in pdf format using fop. Sounds quite a weird
way of doing things, but since fop 0.16 they changed a
bunch of things on me and I have to save all the
intermediate documents to disk.