|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: External programs
Thanks! The external parsed entities worked perfectly... <!ENTITY external_program SYSTEM "http://www.foo.bar/cgi-bin/blah.cgi"> Then, in the content part of the stylesheet... &external_program; Worked like a charm! Thanks again, brent Matt Sergeant <matt@s...> on 07/11/2000 09:26:49 AM To: Brent Michalski/STL/MASTERCARD@MASTERCARD cc: xml-dev@l... Subject: Re: External programs 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








