Subject:XSLT vs XQuery Author:Julio de la Vega Date:15 Oct 2007 11:03 AM Originally Posted: 15 Oct 2007 11:02 AM
Hi *,
I need to transform an xml input into xml output. I have been told that I can use XSLT or XQuery. Could anybody tell me which lenguage has a better performance?
Subject:XSLT vs XQuery Author:Minollo I. Date:15 Oct 2007 11:21 AM
Rarely you tie languages to performace. You usually talk of performance about implementations of a language; and even in that case, often implementations are tuned to perform particularly well in a number of usecases, but they may perform less well in other contexts. And often performance is also tightly couple to how "well" you use a specific language (even if a good implementations in some cases are able to cope even with badly written programs).
That said, in our experience it is easier to optimize XQuery execution than XSLT; and that's particularly true when dealing with relational databases, or large XML documents.
As biased as our judgement can be, DataDirect XQuery (http://www.xquery.com) is usually perceived by our users as an extremely scalable and performant XQuery implementation. You can find more details about that on the website.