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] What niche is XQuery targeting?

[ Lists Home | Date Index | Thread Index ]

> In XSLT, I search in vain for FLWOR expression.

Actually, all the components of a FLWOR expression are there in XSLT, and in
Saxon I had no trouble compiling a FLWOR expression to the internal
representation of XSLT instructions. There's only one minor exception, the
"order by" clause in XQuery relies on a concept of tuples which doesn't
correspond to anything in the user-visible data model or in XSLT (and which,
quite honestly, I have yet to find a need for).

You can argue that the equivalent syntax in XSLT is very cumbersome, but
that only becomes a problem if you're doing heavy joins, and I very rarely
see applications that need that: in XML 90% of the relationships tend to be
within the hierarchy, so you use the XPath axes rather than value-based

Michael Kay


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

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