You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Way, Janet" <JW...@dynasty.com> on 2000/06/02 16:42:13 UTC
Xalan port to Tandem; Pathway CGI interface
The following issue came up for a coworker who
has successfully ported Xalan-C to Tandem, but is
now dealing with Pathway CGI problems.
We use something similar to TestXSLT (process.cpp)
to do transformations. The result of which is a stream
or file. We need to be able to return a buffer.
I've seen similar discussions here before (outputing
a buffer vs. the current stream or file). Any comments?
> Pathway CGI uses a set of API to redirect standard output streams.
>
> The only way to get the XSLT to work with Pathway CGI is to
> pass in a pointer to a buffer to the XSLT interface. The interface
> process() should allocate and fill in the buffer and return the size
> of the buffer on success. We can then use our output streams
> (GNR:CGIOutputStream or GNR:PWayCGIOutputStream) to send
> the output. Do you think this is possible? Any other solutions?
>
>