|
Is it possible to come up with a version of XSLTC
that generates translets that can
process SAX events
directly, rather than first buidling a DOM tree (as I can
see looking at the source code for
org.apache.xalan.xsltc.cmdline.Transform)?
I am under the impression that Xalan's
TransformerHandler
is able to perform a transformation directly on SAX
events,
rather than first building a DOM tree.
This question relates to Cocoon, which excels at
taking advantage of SAX-based processing for
performance. The goal is to be able to deploy
compiled
stylesheets, instead of their source in plain text
format.
In other words, incorporating XSLTC translets into
Cocoon pipelines.
But in order to do that, a Cocoon transformation
would
have to first build a DOM tree (as in
org.apache.xalan.xsltc.cmdline.Transform).
That would slow down Cocoon's performance,
since
a DOM structure would have to be built in the
middle of
processing.
In summary, I would like to insert into a Cocoon
pipeline a
translet created by XSLTC that is able to
process SAX
events directly, without first building a DOM
tree.
Thanks,
Julio Lerm
Chicago, IL
|
- Re: SAX-enabled XSLTC translets jcplerm
- Re: SAX-enabled XSLTC translets Joseph Kesselman
