OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Recently published W3C Working Drafts (long)

[ Lists Home | Date Index | Thread Index ]


Michael Kay wrote:

> To sum it up rather briefly, I think XQuery 1.0 is essentially XPath 2.0
> plus
> 1) element and attribute constructors
> 2) function definitions
> 3) strong typing
> Of course (1) is available in a different form in XSLT 1.0, and (2) is
> available in XSLT 2.0, so you could say that apart from syntax, XQuery is
> XSLT plus strong typing minus template rules. Those might seem small
> differences, but I happen to agree with those who believe that the addition
> of strong typing and the absence of template rules are both very important
> when it comes to optimizing a query to execute against a large XML database
> with pre-defined indexes.

That makes sense.  XSLT is very difficult to optimize, so
XQuery has an advantage by virtue of what it leaves *out*.


--Joe English

  jenglish@flightlab.com




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS