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] Declarative XML Processing with XQuery

[ Lists Home | Date Index | Thread Index ]


On 11/9/05, Uche Ogbuji <uche.ogbuji@fourthought.com> wrote:
> I think that XQuery gets declarativity right, and almost everything
> else wrong.


> * I think that the best features of XQuery are already becoming
> available in general-purpose languages, and that XSLT 1.0 was the key in
> bringing this about, not XSLT 2.0 and XQuery.  In particular, XSLT 1.0's
> declaration through patterns and trigger functions (templates) is a
> powerful mechanism [...]


> * I think that RDF gets the declarativity right, but is losing its
> chance to get everything else right. [...]

Wow! I thought I was all alone in these thoughts. So yes, a true
understanding of XPath and pattern-matching is a formidable way to
handle XML and should seep into our tools of choice.

I joke that there is nothing I can't do in XSLT (just to briefly
return to an old friend), but more and more I find that silly
statement to be true, and given the scope of the XSLT specification,
that is quite telling. There's a lot of KISS and good design in XSLT
despite a somewhat verbose and clunky syntax. I reckon the first
main-stream language to implement native support for XML and
declarative pattern-matching of such (and none of this SAX nonsense!)
will be setting some new paradigm shifts ... at least, here's to

"Ultimately, all things are known because you want to believe you know."
                                                         - Frank Herbert
__ http://shelter.nu/ __________________________________________________


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

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