xsl-list
[Top] [All Lists]

RE: streams as input/output

2005-07-05 01:46:30
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
http://www.saxonica.com/ 

-----Original Message-----
From: Mohd Shadab [mailto:mohammad(_dot_)shadab(_at_)adeptia(_dot_)com] 
Sent: 05 July 2005 07:27
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--





--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>