[xsl] Using XLS to transform/join two XML docs.

Subject: [xsl] Using XLS to transform/join two XML docs.
From: Robert Goheen <RobertG@xxxxxxxxxxx>
Date: Tue, 19 Dec 2000 14:12:52 -0800
This may be a complete bonehead question, but I don't have enough experience
to know the difference  :)

I have two different blocks of XML coming from two different sources (though
I could combine them into a single doc) that I'd like to transform into a
single, different XML or HTML doc.  Effectively, I'm trying to do a SQL join
without the db.

So, I'd like to start with:

	<one>
		<a b="1">First Choice</a>
		<a b="2">Second Choice</a>
		<a b="3">Third Choice</a>
	</one>
	
	<two>
		<x id="1" b="1" this="that" them="those" />
		<x id="2" b="3" this="that" them="those" />
	</two>

And wind up with:

	<three>
		<x id="1" b="First Choice" this="that" them="those" />
		<x id="2" b="Third Choice" this="that" them="those" />
	</three>


Is this possible, or is it beyond the scope of XSL?


Thanks.....

Robert S. Goheen

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread