xsl-list
[Top] [All Lists]

Re: [xsl] Replacing = with == and ===

2014-08-04 14:11:34

Question:

Why does it seem xslt is favorite over xQuery?


You might get different answers on a different list.... But I do think it's 
true that XSLT continues to have much wider usage than XQuery.

I think the reason for that is primarily that people want to do transformation 
(which retains most of the information in a document, but in different form) 
rather than query (which extracts small amounts of information from a document).

Although XQuery is capable of doing transformation, XSLT is better at it for 
two reasons:

(a) the built-in rule-based processing model using template rules

(b) the customization capability provided by xsl:import

neither of which have any parallel in XQuery.

XQuery is much better at doing complex joins, but that's not the kind of 
processing people are mostly doing.

Michael Kay
Saxonica
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>