[Home] [By Thread] [By Date] [Recent Entries]

  • To: "Paul T" <pault12@p...>,"Joe English" <jenglish@f...>,<xml-dev@l...>
  • Subject: RE: Recently published W3C Working Drafts (long)
  • From: "Michael Rys" <mrys@m...>
  • Date: Fri, 21 Dec 2001 15:07:34 -0800
  • Thread-index: AcGJ8wdEV7qqfbWQT5iOzAHi/O24JwAgK6eA
  • Thread-topic: Recently published W3C Working Drafts (long)

> > With XQuery though, there's almost nothing in there that hasn't
> > been added to XSLT and/or XPATH (except perhaps the syntax, which
> > is rather more pleasant IMHO).
> 
> I'm sure some XQuery expert would be glad to
> exlain us why XQuery is very much different from
> XPath ... I remember XSL FO experts explaining
> why FOs are very much different from CSS ...

Differences between XPath and XQuery:

- Static typing in XQuery, not in XPath
- Construction in XQuery, not in XPath
- Sorting and grouping in XQuery, not in XPath
- Function definition in XQuery (including recursive functions)
- XQuery may not provide all XPath axes (implementation issue)

Differences between XQuery and XSLT:
- XSLT currently operates on tree fragments, XQuery on sequences of
nodes and values
- XSLT has a data driven processing architecture, XQuery has a
declarative processing architecture

Best regards
Michael

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member