RE: [xsl] streams as input/output

Subject: RE: [xsl] streams as input/output
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 5 Jul 2005 09:46:30 +0100
It depends on your API. For input files, JAXP allows you to specify a
user-written URIResolver which takes the specified URI and returns a
StreamSource. For output files, there's no JAXP interface for XSLT 2.0 yet,
but Saxon supplies an OutputURIResolver which does a similar job.

Michael Kay 

> -----Original Message-----
> From: Mohd Shadab [mailto:mohammad.shadab@xxxxxxxxxxx] 
> Sent: 05 July 2005 07:27
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] streams as input/output
> Hi,
> While transforming an xml the transformer can take in one 
> stream source and
> output to a stream target.For multiple source it is expected 
> to read using
> the document(file path) function.Similarly to write out to 
> more than one
> output xsl:result-document is used which also writes to a file.
> In both cases we need to use a file to read out of or write 
> to.How can we
> use input or output streams to do the same instead of a file?
> Regards,
> Shadab

Current Thread