This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: inline call to external process
- From: "Thomas B. Passin" <tpassin at mitretek dot org>
- To: <XSL-List at lists dot mulberrytech dot com>
- Date: Wed, 6 Mar 2002 18:22:39 -0500
- Subject: Re: [xsl] inline call to external process
- References: <20020306230333.A2486@fruitcom.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
[Eric Smith]
> Is it possible to invoke an external process from within xml,
> like a script (shell, perl, whatever) that returns xml markup?
> This returned code is then parsed by the xslt processor inplace
> just like the static code.
>
> --
With standard xslt1.0, the only way would be if you could access the process
through a url. Then you could get the results using document(). But it's
not usually a good idea to let a cgi process run an arbitrary shell
script...and you couldn't do that on the fly in the middle of processing.
You could probably do this through various processor-specific extensions.
Cheers,
Tom P
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list