W3C home > Mailing lists > Public > www-xpath-comments@w3.org > January to March 2002

RE: comments on XPath 2.0

From: Kay, Michael <Michael.Kay@softwareag.com>
Date: Mon, 7 Jan 2002 19:32:11 +0100
Message-ID: <DFF2AC9E3583D511A21F0008C7E6210622B8CE@softwareag.com>
To: "'Vun Kannon, David'" <dvunkannon@kpmg.com>, "Kay, Michael" <Michael.Kay@softwareag.com>, www-xpath-comments@w3.org
> I agree that evaluate() may be more appropriate in the 
> function set of XSLT
> than core XPath, but won't XQuery need it also? 

I think XSLT probably needs it more, because with XSLT you definitely want
to write and compile a stylesheet once and use it many times, whereas with
XQuery it's probably more acceptable to compile a query each time it's used
(and therefore, to modify the query each time it's used). But that still
doesn't handle the case of reading and evaluating an XPath expression that
you find in the source documents - I think everyone wants to avoid that use
case, because of the static typing and optimization implications.

Mike Kay 
Received on Monday, 7 January 2002 13:32:18 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:09:42 UTC