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]
Other format: [Raw text]

Re: Multiple input streams (XML) in Xalan


>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


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