cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Langham" <mlang...@s-und-n.de>
Subject RE: Request to external XML server in pipeline
Date Thu, 02 May 2002 09:47:05 GMT
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  mlangham@s-und-n.de - 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:Bryce.Ewing@HalifaxCetelem.COM]
Sent: Thursday, May 02, 2002 11:27 AM
To: 'cocoon-users@xml.apache.org'
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message