Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - XPath query comparisons [Thread Next] Re: XPath query comparisonsTo: NULL Date: 12/3/2008 12:57:00 PM barnum@b... wrote: > maybe this is not possible to answer, but is there a formal way to > compare Xpath queries? > Almost like a Query mathematics? > > What I want to do is say if an Xpath is "wider" than a previous one. > We have our data remotely, and we cache the qery result. > So we don't want to perform a new (remote) query if the new one is > "narrower" or equal. > (Assuming the remote data hasn't changed.) I could imagine that implementors of XSLT, XQuery and XPath solutions analyze XPath expressions for optimization. So you might find more expertise on that question on the XSL list http://www.mulberrytech.com/xsl/xsl-list/. -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
