Hi Scott & Morten,

> Thinking about it a bit more... TransformerHandler is really just meant as
> an event handler for the transformer.  If you did get a Transformer from
> the TransformerHandler, and then called t.transform(source, result), it
> should probably just work, even though it wouldn't make much sense to do
> things this way.

Thinking about it still more... this could work if
the SAXSource has an XMLReader (meaning Xalan has
some means of "pulling" the events in). But if no
XMLReader is supplied (so the events come in only
whenever some external code feels like supplying
them), then only "push"-type processing is possible,
and that has to be triggered by the endDocument
event (or by some earlier event in the case of
incremental processing, as I just learned :) So in
that case the transform method would not make sense.

Right?

        - Gulli

Reply via email to