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

Re: speed questions

Subject: Re: speed questions
From: juggy@xxxxxxx
Date: Tue, 10 Sep 2002 15:33:42 +0200
xsl speed
Thanks for the tips! I'll check them out.

Regards,

Juggy

Michael Kay wrote:
I have a xml dictionary file with about 95000 entries, 20 Megabytes in size. Due to its nature I need to do searching amongst different criterias (languages, substring matching, ...) and I intend to use XSL for it.
Now - judging from my latest experiments - I wonder if xml/xsl is a good choice for implementing such a thing, since - given my present understanding of xml/xsl - each time I invoke the xsl(t)-processor the file is read (flatly) again.


No, every XSLT processor has an API that allows you to build the tree
once, in memory, and then do multiple transformations on it (using
different stylesheets, or using the same stylesheet with different
parameters).

However, if you can't keep the data in memory between the different
searches, then an XML database would probably be a good solution. Take a
look at Software AG's Tamino.

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx



And since this file is so big I


wonder if this is efficient? I also thought about generating separate, smaller xml files which hold additional statistical data that I could preprocess with another stylesheet in order to save some time, but I am not sure if this would be useful.
What do you know about this?
Probably many of you work with much larger databases, so what would you do? An online reference would also be fine :-)
I also tried to get some speed results on the various xslt-processors, but the latest I found was done by www.xml.com somewhere back in 2001, and I believe that there have been many changes - and improvements - to the various xsl(t)-processors. Do you know of any more recent tests? So far I have only tried the msxml and saxon, favouring the latter since it's platform independent due to its Java nature.


If someone could enlighten me on that, it would be very nice :-) I am more experienced using SQL with databases such as db2, and hence I apologize that some of my questions may sound somewhat awkward and strange.

Greetings and thanks in advance,

Juggy


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list





XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list





XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • speed questions
    • juggy - Sat, 7 Sep 2002 23:42:33 -0400 (EDT)
      • Conal Tuohy - Sun, 8 Sep 2002 01:47:03 -0400 (EDT)
        • juggy - Tue, 10 Sep 2002 02:37:04 -0400 (EDT)
      • Michael Kay - Mon, 9 Sep 2002 04:25:25 -0400 (EDT)
        • juggy - Tue, 10 Sep 2002 02:36:40 -0400 (EDT) <=

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.