Re: Hello XQuery ... Goodbye XSLT?

From
Dimitre Novatchev <>
To
Date
2004-11-11T11:24:36Z
ID
<cmvi5k$rgv$>
Thread
Re: Hello XQuery ... Goodbye XSLT?
"David Carlisle" <> wrote in message 
news:...
>
>> From my examinations, it would appear that XQuery is a superset of XSLT.
>
> Don't you have that backwards?
>
> Xquery is essentially XSLT 1 (ie no xsl:for-each-group or
> xsl:analyse-function) plus function definitions (in XSLT 2, but available
> in several xslt 1 systems as an extension) and  plus Xpath2 (also in XSLT2
> unfortuately) and without xsl:apply-templates and with some dodgy ad hoc
> syntax that looks a bit like xml but isn't.

XQuery is essentially much poorer in functionality than XSLT 1.0. It lacks 
something very significant:
         xsl:template
and
        xsl:apply-templates.


Cheers,
Dimitre.