This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Multiple input streams (XML) in Xalan
- From: Joseph Kesselman <keshlam at us dot ibm dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Fri, 23 Aug 2002 09:20:50 -0400
- Subject: Re: [xsl] Multiple input streams (XML) in Xalan
- Reply-to: xsl-list at lists dot mulberrytech dot com
>I am trying to do a xsl transformation against two input xml >streams
using xalan. I have a data.xml (stream) generated by one >data source,
and a config.xml (stream) generated by another, >which both need to be
processed by output.xsl (file). Any ideas?
Standard solution would be to use the document() function to retrieve
information from the second doc. That references a URI, so if you already
have the stream you'd have to write and plug in a resolver which
understands that a specific URI should return that existing stream. (Or
you could save one of these streams locally and then use document()'s
standard mode of operation...)
______________________________________
Joe Kesselman / IBM Research
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list