[
Lists Home |
Date Index |
Thread Index
]
Hi Jeni,
I basically agree with everything you've said here. I appear to have
misinterpreted your original note as saying that you thought that
conditional expressions and loops were superfluous because there already
were statements with this functionality. Sorry for the error.
Jeff
----- Original Message -----
From: "Jeni Tennison" <jeni@jenitennison.com>
To: "Jeff Greif" <jgreif@alumni.princeton.edu>
Cc: "Jonathan Robie" <jonathan.robie@datadirect-technologies.com>;
<xml-dev@lists.xml.org>
Sent: Friday, May 10, 2002 1:13 AM
Subject: Re: [xml-dev] XPath 2.0 - how much of XQuery should it include?
> Hi Jeff,
>
> > Lisp provides loops and conditionals as expressions. They are
> > incredibly useful, since loops and conditionals can return values
> > and be nested inside other expressions. All the C based languages
> > (including Java) have conditional expressions, written as (condition
> > ? result-if-true : result-if-false).
>
> Quite. As I said, that's precisely the kind of conditional
> *expression* that I'd love to see in XPath 2.0. What I don't want is a
> conditional *statement*. All the C based languages, including Java
> have both: they have a conditional statement:
>
...
|