This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Integrating SAX filters produced streams with XSLT
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Integrating SAX filters produced streams with XSLT
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Fri, 7 Sep 2001 00:15:06 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> However, if you are using a stylesheet minimizing technique[1] for
> templating a website, say, which takes at least two input XML
> documents,
> one via stdin, and the other a result of opening a file using
> document(), then you have the problem that only one of these
> inputs can
> be a stream. All the other inputs (via document()) have to be saved in
> files prior to input, at least temporarily.
>
> Is there anyway around this?
Write a URIResolver. This is invoked when you call document(), it looks at
the URI and returns any kind of Source, e.g. a StreamSource or SAXSource.
Mike Kay
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list