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

Precompiling Xpath expressions

Subject: Precompiling Xpath expressions
From: Joseph Kesselman <keshlam@xxxxxxxxxx>
Date: Mon, 14 Jul 2003 17:14:29 -0400
precompiling xpath



A precompiled XPath expression -- if we supported it, and I don't think  we
do -- would be a ready-to-execute data structure which can be used to
evaluate an XPath. "Preparsed" might be a better description. The idea is
that if you're going to run the same XPath many times, it may be more
efficient to translate it into executable form once and use that
translation repeatedly, rather than always starting from the text-string
representation and having to retranslate it.

Xalan does support precompiled stylesheets -- that's a basic part of the
TrAX API's design.  But translating a stylesheet is much more work than
translating an individual expression.

Should Xalan support precompiled XPaths? Probably. I'll post an enhancement
request into Bugzilla.

______________________________________
Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more.
"The world changed profoundly and unpredictably the day Tim Berners Lee
got bitten by a radioactive spider." -- Rafe Culpin, in r.m.filk


 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.