cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven Maring <Steven.Mar...@trcinc.com>
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
formed.

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 [mailto:rick@ticketweb.com]
Sent: Thursday, January 20, 2000 5:30 PM
To: cocoon-users@xml.apache.org
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?

Thanks,

- RT

---------------------------------------------------------------------
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