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

RE: General Searching query

Subject: RE: General Searching query
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Mon, 17 Dec 2001 19:43:31 -0000
RE:  General Searching query
> Imagine the scene:
>
> You have around 20,000 xml files, all around 10k in size.
> You have to write
> a stylesheet that will run on IE5.5 using MSXML2.5 (possibly
> v3) that will
> search the XML files, based on a name-value pair.
>
> The solution you are looking for will be fast, and scalable
> because you know
> eventually it will have to search up to 250,000 XML files.
>
> What kind of stylesheet is best for this task??  Any ideas welcome
>
This is precisely the scenario where you need XQuery rather than XSLT.

Or perhaps, if such a thing existed, an XSLT implementation capable of
optimising queries against large databases. But there are actually good
reasons why XSLT isn't ideally suited to the task: it's very hard to do any
static analysis of the template rules in a stylesheet to work out what
indexes to use to retrieve the data. This accounts for one of the few big
differences between XSLT and XQuery.

Take a look at Tamino: www.tamino.com

Before that, of course, you need to tell the person who said it should run
under IE5.5 that it's their job to tell you the requirement, not to impose
on you an architecture that is guaranteed to fail.

Mike Kay
Software AG


 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.