Re: lack of if/else?

> It's on the list of features for future versions (see the Appendix in
> the XSLT spec).

Seems it'd help future generations if that appendix were split
into things applicable to xpath, and things applicable only to
xslt. xpath has implications for several other efforts, obviously.

things in that appendix that strike me as xpath issues are (quoting that text):
- a conditional expression;
- a way to get back from an element to the elements that reference it (e.g. by IDREF attributes
- support for regular expressions for matching against any or all of text nodes, attribute values, attribute names, element type
names;
- case-insensitive comparisons;
- normalization of strings before comparison, for example for compatibility characters
- allow unions in steps (e.g. foo/(bar|baz));
- a way to group together consecutive nodes having duplicate subelements or attributes;

that is about a third of the issues.

in particular, in this case it seems like a more significant issue
for xpath than xslt, since xslt has xsl:if and xsl:choose, as baroque
as they may be.

-mda

Received on Monday, 15 November 1999 00:38:40 UTC