----- Original Message -----
From: "Ulrich Mayring" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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?

AFAIK:
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: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to