Subject: RE: Intercepting multiple output documents
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Mon, 8 Nov 1999 10:30:10 -0000
|
> We're investigating the possibility of using James Clarke's
> XT processor as a component in a larger XSLT application. One key
> requirement we have is support for multiple output documents, which is
provided for
> in XT at the expense of having to output to files rather than standard
output.
>
> Is there any way of hooking into the XT processor to
> intercept this output as a stream for use in later processing? We'd
rather not have to dump
> things to files only to read them in again immediately.
>
If you were using SAXON rather than XT you could do this by directing each
output stream to an "Emitter", a java class of your own making, which could
do whatever you like with the result. There would be a new instance of the
Emitter for each output document, so no problem disentangling the different
streams.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|