Subject: [xsl] Precompiling Xpath expressions From: Joseph Kesselman <keshlam@xxxxxxxxxx> Date: Mon, 14 Jul 2003 17:14:29 -0400 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Precompiling Xpath expression, Venkateshwar Bommine | Thread | [xsl] sorting..., Fei Zheng |
Re: [xsl] sorting..., David Carlisle | Date | Re: [xsl] Re: for-each not working, David Carlisle |
Month |