[
Lists Home |
Date Index |
Thread Index
]
> XSLT doesn't have that luxury. When we add statements to XPath,
> instead of getting a nice unified language, we get a mess where we
> have two ways of doing the same things, one in XPath and one in XSLT.
> New users have to learn twice as much, or their tutors decide which
I've always wondered how the W3C looks issues of useability. I suspect
that if I had to teach XPath 2.0 to people, I would leave out most
things that were not in XPath 1.0 because I'd be scared to lose my
audience.
Getting XPath 1.0 expressions right is hard enough.. Personally, I
regard XPath expressions as atomic: they get me something out of a
document. There is no control flow in them, simple predicate tests
aside. With XPath 2.0, control flow will be scattered between the
languages built around XPath and the expressions themselves.
Christian
|