This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Integrating SAX filters produced streams with XSLT


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]