cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Per-Olof Norén <>
Subject Re: Very basic SAX question
Date Thu, 04 Apr 2002 15:42:48 GMT
----- Original Message -----
From: "Ulrich Mayring" <>
To: <>
Sent: Thursday, April 04, 2002 5:26 PM
Subject: Very basic SAX question

> Hello folks,
> I know that Cocoon2 uses a pipeline of SAX events all the way through
> the processing pipeline. Is this also true for the XSLT stage? Or does
> the transformer have to wait until the stream is fully there and start
> transforming only then?

The XSLT Transformer uses by default Xalan, which has a feature called
Incremental processing.
This feature permits the transformer to begin tranforming without ALL the
elements,  and waits for elements needed

> I am asking, because in XPATH there are forward-referrals such as the
> following-sibling axis. And when an element is referred to, that has not
> yet arrived on the stream, what is the transformer to do?

to wait...and collect elements

> Or did I misunderstand the SAX pipeline Cocoon2 uses and in fact at
> every stage every component has to wait until the stream is complete?

see above

> Thanks for any pointers,

/Per-Olof Norén
Stockholm, Sweden

To unsubscribe, e-mail:
For additional commands, email:

View raw message