[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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
mike kukuchka
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.