[
Lists Home |
Date Index |
Thread Index
]
"David Carlisle" <davidc@nag.co.uk> wrote in message
200411081336.NAA14395@penguin.nag.co.uk">news:200411081336.NAA14395@penguin.nag.co.uk...
>
>> 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.
|