cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven Maring <>
Subject RE: CGI/Cocoon combo
Date Fri, 21 Jan 2000 13:46:26 GMT
Interesting.  You could always do a runtime exec() from an XSP generated
Servlet, but you will run into some problems.  Most CGI scripts output the
headers of the page, followed by the HTML which may, or may not, be well

Assuming that it was well formed, you would get a stream that you would have
to play with.  Chop off the header.  Get the node that you were looking for,
assuming it was not something pathetically genereic like <TABLE/>, and then
have Cocoon insert that node into the XML where you wanted it.

Anybody know how to chop the header off of an HTML response stream so that
you have pure HTML?

-----Original Message-----
From: Rick Tyler []
Sent: Thursday, January 20, 2000 5:30 PM
Subject: CGI/Cocoon combo

Is it possible to instruct Apache/JServ/Cocoon to send the XML
output from a CGI (compiled C++ program) to the Cocoon engine
for transformation?

If so, how?


- RT

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message