Adding together XML files with identical trees

Subject: Adding together XML files with identical trees
From: Mike Kukuchka <mkukuchka@xxxxxxxxxxxxxxxxx>
Date: Tue, 19 Sep 2000 13:44:07 -0700
Hello All:

I have Web site performance data in XML files, that I want to put them
together into one HTML table.  The Tree structure is
the following:

<ROOT>
	<FUNCTION>
		<LOGINFO>
			<PERFORMANCE>32ms</PERFORMANCE>
		</LOGINFO>
	</FUNCTION>
	<FUNCTION>
		<LOGINFO>
			<PERFORMANCE>45ms</PERFORMANCE>
		</LOGINFO>
	</FUNCTION>
	......
</ROOT>


The final product of three files should look something like this:

<ROOT>
	<FUNCTION>
		<LOGINFO>
			<PERFORMANCE1>32ms</PERFORMANCE1>
			<PERFORMANCE2>45ms</PERFORMANCE2>
			<PERFORMANCE3>45ms</PERFORMANCE3>
		</LOGINFO>
	</FUNCTION>
	<FUNCTION>
		<LOGINFO>
			<PERFORMANCE1>15ms</PERFORMANCE1>
			<PERFORMANCE2>23ms</PERFORMANCE2>
			<PERFORMANCE3>18ms</PERFORMANCE3>
		</LOGINFO>
	</FUNCTION>
	......
</ROOT>

Is this possible in XSLT?  I am ready to use Java and DOM with hash tables,
but put a lot of time
looking for a solution with XSLT using XT for Windows.

Thanks,

Mike A. Kukuchka 
Software Engineer 
US Interactive, Inc 
Phone: 310.889.3152 - Fax: 310.440.3388 
mkukuchka@xxxxxxxxxxxxxxxxx 
<mailto:mkukuchka@xxxxxxxxxxxxxxxxx> 

http://www.usinteractive.com


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


Current Thread