xsl-list
[Top] [All Lists]

Re: Xquery for 'hard data probs' was RE: XSLT vs Perl

2004-02-21 01:18:28
I have written two books on, or partially on, XQuery, in the last year. My
take on it is that in order to do anything of interest, you need to know
XPath to a fairly solid degree. By the time you get there, XSLT is more
expressive and capable than XQuery.

-- Kurt

----- Original Message ----- 
From: "Michael Kay" <mhk(_at_)mhk(_dot_)me(_dot_)uk>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Friday, February 20, 2004 1:13 PM
Subject: RE: Xquery for 'hard data probs' was RE: [xsl] XSLT vs Perl


I would be interested in your opinion if Xquery is more
superior in querying data over XSLT, perhaps u have some
clear use cases gathered whilst developing your Xquery implementation.

The strength of XQuery is that it is a simpler language than XSLT, which
makes it much more feasible to implement efficient searching of very
large XML databases.

Its other strength is that for simple problems, the XQuery code is much
shorter than the XSLT code.

But for complex manipulation of in-memory XML, I would use XSLT every
time, regardless of whether you're dealing with "data" problems or
"document" problems.

Michael Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list