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 ]

> > 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




 

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

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