At first glance, this does not look very natural in Cocoon, but I don't
think there's enough information given to advise you.  What needs to happen
in the rest of the pipeline?  Are you truly aggregating the content of those
two items, or are you merely trying to use the aggregate feature to trigger
the two pipelines in order?  What does each individual pipeline do/return?

Geoff

-----Original Message-----
From: Joe Latty [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 28, 2003 5:42 PM
To: Cocoon Users
Subject: Using the results of an aggregate part.


Greetings

Firstly I should warn you I am a complete newbie.

On the following url http://wiki.cocoondev.org/Wiki.jsp?page=Aggregator I
found this quote:

(Aggregator) "Allows the combination of multiple XML documents. An
individual aggregator contains one or more parts. Each part is a document
fragment, these become children of a new document root, whose element name
is defined by an attribute on the aggregator."

I am trying to get the results from one part and use these to obtain the
correct results from the second part.

<map:aggregate element="site">
  <map:part src="cocoon:/getSomeDataFromACall.xml"/>                 <!--
and put the result in the session -->
  <map:part src="cocoon:/toUseToObtainDetailsFromThisCall.xml"/>  <!-- using
the data in the session object -->
</map:aggregate>

Is this possible?

Is the aggregator the place to be looking?

Is there a simple way to do this?

Thanks for any help.

Joe


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to