W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2002

Re: variable binding in XPath was: Comments on XPath (30th April)

From: Evan Lenz <evan@evanlenz.net>
Date: Wed, 22 May 2002 10:38:58 -0700
Cc: David Carlisle <davidc@nag.co.uk>, public-qt-comments@w3.org
To: "Kay, Michael" <Michael.Kay@softwareag.com>
Message-Id: <CBD8AA4B-6DAA-11D6-8E3A-000393698F88@evanlenz.net>
If we remove the "full" for from XPath, then I agree that let would be 
needed. I don't want to give up the ability to access intermediate context 
nodes (as opposed to being restricted to the ends of the spectrum, i.e. . 
and current()).

Evan

On Wednesday, May 22, 2002, at 03:50  AM, Kay, Michael wrote:

>>
>> A suggestion.
>>
>> * Remove the "full" for from Xpath.
>> * Provide a simpler context based for, either something like
>>
>> "foreach" Expr "return" Expr
>> or something more symbolic, Xpath-like  syntax, I'd quite like
>>
>>  Expr => Expr
>>
>> (with => taking the same precedence as /, and doing a similar
>> job but not restricted to node sequences and not applying
>> doc-order to the
>> result) I know => is currently being used for something else....
>>
>> * Provide let (with the current XQuery syntax)
>>
>
> I think that's a nice idea... I'll chew on it.
>
> Michael Kay
>
Received on Wednesday, 22 May 2002 13:39:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:22 GMT