Home | Contents | Latest | Previous | Next

Comparison of XPath and XQuery

From: "andrew cooke" <andrew@...>

Date: Sat, 8 Mar 2008 16:19:04 -0300 (CLST)

By the author of saxon.  The main difference, surprisingly (to me) is the
intended usage - don't use XPath for large data volume.s

Also, while reading this, I was struck by how I (at least) think about
expressions with an implicit variable ("." in XPath).  I am largely
unconscious of it, yet learning it was what made XSLT hard (as far as I
can tell).  There's something similar with this/self in OO (I am looking
at Python again), but it's not as strong an effect.

http://www.idealliance.org/proceedings/xtech05/papers/02-03-01/

See also http://www.xmlportfolio.com/xquery.html

Andrew

Argh. XSLT not XPath

From: "andrew cooke" <andrew@...>

Date: Sat, 8 Mar 2008 16:20:56 -0300 (CLST)

Obviously that should be "A Comparison of XSLT and XQuery" and the
conslusion is "don't use XSLT for large volumes of data".

Sorry,
Andrew

Comment on this post