Here's a trivial way to merge two streams. here's doc 1: <xml1>doc 1</xml1>
here's doc 2: <xml2>doc 2</xml2> and here they are merged: <root><xml1>doc 1</xml1><xml2>doc 2</xml2></root> just write an xslt to process this merged doc, and you are ready to go. and this works for any number of docs. just make sure you remove the xml declaration line from each initial doc, if it is present, before you paste them together. :) -jesse ----- Original Message ----- From: "Joseph Kesselman/CAM/Lotus" <[EMAIL PROTECTED]> Cc: "Xalan J Users Club" <[EMAIL PROTECTED]> Sent: Tuesday, April 16, 2002 7:27 AM Subject: Re: How do I merge two XML feeds, and is this question off topic? > > I don't think Xalan currently has a mechanism for merging two streams; > that's not really covered by the XSLT processing model. Best solution I can > think of would be to write an entity resolver that lets you register the > steams with it and recognizes requests for those streams when they're > called for via document(). > > >
