[Home] [By Thread] [By Date] [Recent Entries]



"David Carlisle" <davidc@n...> wrote in message 
200411081336.NAA14395@p...">news:200411081336.NAA14395@p......
>
>> 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. 




Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member