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