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

Re: Speed and memory problems when transforming links

Subject: Re: Speed and memory problems when transforming links
From: Markus Spath <mspath@xxxxxxxx>
Date: Wed, 06 Feb 2002 09:27:18 +0100
syllable files
Hallo Andreas,


If you just want to generate a result as you described, you actually don't need to merge in the phone file, since it doesn't add any information (the id of the phone corresponds to the local link in the syllable file)


second hint: don't call xsl:for-each but use templates instead, (ev. somebody will explain why ;) )


hope that helps a little


markus


Andreas Voegele wrote:


Hi,

I'd like to merge the contents of two linked XML files into on file
but I have speed and memory problems with Saxon as well as Xalan.

The first XML file contains syllables and links to the second file,
which contains phones:

 <syllable_file>
  <syllable id="sllbl_0">
   <link href="phone.xml#phn_0" />
   <link href="phone.xml#phn_1" />
  </syllable>
  ...
 </syllable_file>

 <phone_file>
  <phone id="phn_0" />
  <phone id="phn_1" />
  ...
 </phone_file>


The result looks like this:


 <syllable_phone_file>
  <syllable id="sllbl_0">
   <phone id="phn_0"/>
   <phone id="phn_1"/>
  </syllable>
  ...
 </syllable_phone_file>



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.