You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by UMIT YALCINALP <um...@sun.com> on 2001/11/26 21:31:12 UTC
Multiplexing with Sitemap?
Folks,
I am a newbie in Cocoon 2 and I have been trying to understand the
current design of sitemap. Currently, it is possible to "combine"
multiple sources on the SAX stream by using built in aggregator
component, however it does not appear to be possible to multiplex
several outputs from a component by using the sitemap (hence create
multiple SAX streams by multiplexing). Am I missing something or are
there any plans to do this in the future?
Thanks for your response in advance.
--umit
--
Umit Yalcinalp
J2EE
Sun Microsystems
(408)276-7335
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
Re: Multiplexing with Sitemap?
Posted by Bertrand Delacretaz <bd...@codeconsult.ch>.
On Monday 26 November 2001 21:31, UMIT YALCINALP wrote:
> . . .it does not appear to be possible to multiplex
> several outputs from a component by using the sitemap (hence create
> multiple SAX streams by multiplexing).
It might not be exactly what you're looking for, but the FragmentExtractor
transformer does some kind of multiplexing by "extracting certain nodes from
a SAX stream and move them into a separate pipeline. " (citing the javadocs).
--
-- Bertrand Delacrétaz, www.codeconsult.ch
-- web technologies consultant - OO, Java, XML, C++
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
RE: Multiplexing with Sitemap?
Posted by Carsten Ziegeler <cz...@s-und-n.de>.
> -----Original Message-----
> From: Umit.Yalcinalp@sun.com [mailto:Umit.Yalcinalp@sun.com]
> Sent: Monday, November 26, 2001 9:31 PM
> To: Cocoon Dev
> Subject: Multiplexing with Sitemap?
>
>
> Folks,
>
> I am a newbie in Cocoon 2 and I have been trying to understand the
> current design of sitemap. Currently, it is possible to "combine"
> multiple sources on the SAX stream by using built in aggregator
> component, however it does not appear to be possible to multiplex
> several outputs from a component by using the sitemap (hence create
> multiple SAX streams by multiplexing). Am I missing something or are
> there any plans to do this in the future?
>
Yes, you're right. You can only create one output. The reason for this
is that Cocoon is based on the request-response-cycle: a request for
one document enters Cocoon and it responds with exactly this document.
Carsten
> Thanks for your response in advance.
>
> --umit
>
> --
> Umit Yalcinalp
> J2EE
> Sun Microsystems
> (408)276-7335
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org