This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Adding together XML files with identical trees
- To: "'XSL-List at mulberrytech dot com'" <XSL-List at mulberrytech dot com>
- Subject: Adding together XML files with identical trees
- From: Mike Kukuchka <mkukuchka at usinteractive dot com>
- Date: Tue, 19 Sep 2000 13:44:07 -0700
- Cc: Mike Kukuchka <mkukuchka at usinteractive dot com>
- Reply-To: xsl-list at mulberrytech dot com
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