[Home] [By Thread] [By Date] [Recent Entries]

  • From: Matt Sergeant <matt@s...>
  • To: Brent_Michalski@m...
  • Date: Tue, 11 Jul 2000 15:26:49 +0100 (BST)

On Tue, 11 Jul 2000 Brent_Michalski@m... wrote:

> 
> 
> Is there an easy way to call external programs, such as CGI's, and have their
> output displayed in the page?  I am using Cocoon and Tomcat.

You should be able to use any of the methods for bringing in external
resources, these include:

the document() function
<xsl:import>
<xsl:include>
and
external parsed entities.

All of those should be able to accept a URL of type
http://server/cgi-bin/foo.cgi as their parameter. Bear in mind that in
all cases the output from the CGI has to be either valid XML or a valid
external parsed entity.

-- 
<Matt/>

Fastnet Software Ltd. High Performance Web Specialists
Providing mod_perl, XML, Sybase and Oracle solutions
Email for training and consultancy availability.
http://sergeant.org | AxKit: http://axkit.org


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member