OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: External programs

[ Lists Home | Date Index | Thread Index ]
  • From: Matt Sergeant <matt@sergeant.org>
  • To: Brent_Michalski@mastercard.com
  • Date: Tue, 11 Jul 2000 15:26:49 +0100 (BST)

On Tue, 11 Jul 2000 Brent_Michalski@mastercard.com 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





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS