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]

RE: Adding together XML files with identical trees


I'm sure Oliver Becker will point you in this direction
http://www.informatik.hu-berlin.de/~obecker/XSLT/#merge
but just in case you're in the states and he's asleep
there you go

XML/XSL Portal
http://www.bayes.co.uk/xml


>-----Original Message-----
>From: owner-xsl-list@mulberrytech.com
>[mailto:owner-xsl-list@mulberrytech.com]On Behalf Of Mike Kukuchka
>Sent: 19 September 2000 21:44
>To: 'XSL-List@mulberrytech.com'
>Cc: Mike Kukuchka
>Subject: Adding together XML files with identical trees
>
>
>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@usinteractive.com
><mailto:mkukuchka@usinteractive.com>
>
>http://www.usinteractive.com
>
>
> XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 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]