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

XSL for merging huge set of input xml strings

Subject: XSL for merging huge set of input xml strings
From: "Ramkumar Menon" <ramkumar.menon@xxxxxxxxx>
Date: Fri, 7 Nov 2008 11:23:37 -0800
 XSL for merging huge set of input xml strings
Gurus,

We have a case where we need to merge multiple input XML strings, each
of which has a header and multiple items,  into one single big target
document that contains the header within the first XML string, and all
the items in all the input xml strings. The target willl not have any
"xml strings".
The input is pretty huge - lets say around 50-100 K at the least - and
the number of input xml  strings could be anywhere from 1 to 600.
The xsl would need to parse the string into xml, and then merge them together.

input

<messages>
  <message>... contains xml stirng with <header>.....
</header><item>....</item><item>....</item>....</message>
  <message>... contains xml stirng with <header>.....
</header><item>....</item><item>....</item>....</message>
 <message>... contains xml stirng with <header>.....
</header><item>....</item><item>....</item>....</message>
  ......
</messages>


output

<target>
   <header>
          ...
   </headeR>
   <item>
     ...
   <item>

     ....
</target>

In this case, the xslt costs should be pretty sizeable - am wondering
whats the best option to take ... is xslt the preferred option still ?
Will doing the transformation in java make it any better? What about
any other options?

Please advise.

Ram

--
Shift to the left, shift to the right!
Pop up, push down, byte, byte, byte!

-Ramkumar Menon
A typical Macroprocessor

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.