[
Lists Home |
Date Index |
Thread Index
]
Jeni Tennison scripsit:
> XPath 2.0 incorporates a number of *statements* that are already
> provided by XSLT 2.0. The for "expression" and the if "expression"
> would be classed as statements in any other language.
That turns out not to be the case.
There are many languages in which everything is
an expression returning a value, including conditionals and loops,
and even good ol' C has a conditional expression (with funky syntax,
but semantically the same as if-then-else).
"Lisp programmers know the value of everything and the cost of
nothing." (Alan Perlis)
--
John Cowan <jcowan@reutershealth.com> http://www.reutershealth.com
I amar prestar aen, han mathon ne nen, http://www.ccil.org/~cowan
han mathon ne chae, a han noston ne 'wilith. --Galadriel, _LOTR:FOTR_
|