search mechanismJohn Snelson jsnelson at sleepycat.com
Thu Apr 6 18:50:09 PDT 2006
Michael Kay wrote: >> for $id1doc in //text//abstract[contains(.,'Peter')] > > > Do be aware that path expressions involving multiple "//" operators can be > very expensive. This depends on the implementation of course, but it's > likely to be much better to spell the path out explicitly if you can. Unless you evaluate XQuery using indexes, in which case the less explicit paths, and the more "//" operators that you use, the better. John -- John Snelson, Berkeley DB XML Engineer Sleepycat Software, Inc http://www.sleepycat.com Contracted to Sleepycat through Parthenon Computing Ltd http://blog.parthcomp.com/dbxml
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