RE: Xquery for 'hard data probs' was RE: [xsl] XSLT vs Perl

Subject: RE: Xquery for 'hard data probs' was RE: [xsl] XSLT vs Perl
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Fri, 20 Feb 2004 21:13:51 -0000
> 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


Current Thread