Hi Bryce,

here's one way of doing this:

<pipeline>
        <reguest generator>
      <stylesheet - builds cinclude statements with the params>
      <cinclude transformer>
      <stylesheet for output>
</pipeline>
So you use the cinclude transformer to fetch the external data. Check out
the cinclude documentation for more details.

Matthew

--
Open Source Group               sunShine - Lighting up e:Business
=================================================================
Matthew Langham, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
           Weblogging at: http://www.need-a-cake.com
 Cocoon book: http://www.amazon.com/exec/obidos/ASIN/0735712352
=================================================================



-----Original Message-----
From: Ewing, Bryce [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 02, 2002 11:27 AM
To: '[EMAIL PROTECTED]'
Subject: Request to external XML server in pipeline


Hi,

Just started working with Cocoon and I have a question in regards to reading
XML content from a XML server probably within a pipeline.  What I have at
present is a backend XML server that given a XML formatted packet does some
processing, including database access, legacy etc. then replies with an
answer XML packet.  This is totally outside of Cocoon.

What I have inside Cocoon at present is an html form that has the request
parameters that would make up the inwards XML packet.  I have a pipeline
that has a request generator, then a xslt transformation to get the XML into
the required format.  What I would like to do is post this packet to the XML
server, with the reply packet being available to the pipeline, maybe a
transformer that changes the input XML to the output via the post.  Then
process this reply XML packet to create the next HTML page.

If anyone has any help on this, or can think of a better way this could be
performed your help would be greatly appreciated.

Cheers
Bryce

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

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


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

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

Reply via email to