[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
|
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
RSS 2.0 |
|
Atom 0.3 |
|
|