Altova Mailing List Archives
>xml-dev Archive Home
>Thread Prev - Hello XQuery ... Goodbye XSLT?
Re: Hello XQuery ... Goodbye XSLT?
Date: 11/11/2004 11:43:00 AM
"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.