[
Lists Home |
Date Index |
Thread Index
]
Hi,
On 11/9/05, Uche Ogbuji <uche.ogbuji@fourthought.com> wrote:
> I think that XQuery gets declarativity right, and almost everything
> else wrong.
and
> * 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 [...]
and
> * 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
hoping.
Alex
--
"Ultimately, all things are known because you want to believe you know."
- Frank Herbert
__ http://shelter.nu/ __________________________________________________
|