> Is it possible to use xalan with a pull parser like Woodstox?

Possible? I'm not familiar with Woodstox, but I think it could be done.

Easy? No, unless someone has already written the needed code and I missed
the announcement.

Internally, Xalan runs across the DTM data model. It is certainly possible
to implement a demand-loaded version of the DTM; we had (and probably still
have) a variant that runs across a "throttled" SAX parser, constructing
nodes as they are requested through the DTM API. A variant of that which
used a real pull-parser rather than a pulsed SAX parser certainly ought to
be possible.

But to make this work, you'd essentially be reimplementing the
demand-loaded SAX2DTM code. That's a nontrivial amount of work.

Reply via email to