You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Fotis Jannidis <fo...@lrz.uni-muenchen.de> on 2000/07/22 13:34:08 UTC

XSLTResultTarget with SAX 2

I would like to add to Fop, the xsl:fo processor in xml.apache.org, a class which allows 
the user to input an xml file and a xslt file and xalan transforms it to a xsl:fo file and then 
the whole is transformed to pdf. 
I have a working version, but it uses too much memory. The problem is handling the 
result of the transformation to Fop. The solution I would like to use is to have xalan 
generate SAX events which then are used in Fop, but at the moment Xalan only seems 
to support the org.xml.sax.DocumentHandler handler as an argument for 
XSLTResultTarget, which has been deprecated in SAX 2. Fop is already using SAX 2 
and therefore I wanted to ask, whether you already have plans to move to SAX 2 
support? 
Thanks in advance,
Fotis

PS: And will this decrease the amount of needed memory? At the moment I use a 
StringWriter as target for XSLTResultTarget.