Altova Mailing List Archives


Re: Hello XQuery ... Goodbye XSLT?

From: "Dimitre Novatchev" <dnovatchev@-----.--->
To: xml-dev@-----.---.---
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.

Disclaimer

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.