[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] how with xPath 1


Subject: Re: [xsl] how with xPath 1
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Sun, 15 Apr 2012 17:34:52 +0100

XPath 1.0 is not "relationally complete", that is, there are queries expressible in first-order predicate calculus that are not expressible in XPath 1.0. This might well be one of them. In such cases you need some assistance from the host language (e.g. XSLT or Java).

Michael Kay
Saxonica



On 15/04/2012 08:50, Leo Studer wrote:
Hello Liam

Thank you for your lines.

On 15.04.2012, at 03:05, Liam R E Quin wrote:
So I wonder, is it possible to retrieve the newest cd of each artist with xPath 1 only.
The answer here in some cases is (1) install an XQuery processor, (2)
use XQuery (or XPath 2, a subset of XQuery).
YES !

Does that mean the question is to complex to be treated with xPath 1?
... I know, if we have an easy way to go why bother about the longer ones...

Cheers
Leo


Current Thread
Keywords