Re: FW: Issue: bracket-overload

Thanks for your comment.

Kay Michael wrote:

> My vote would be to use [] for boolean predicates and "!" as a subscripting
> operator, so one could write "foo[position()=3]" or "foo!3"; "foo[1]" would
> then mean "foo[boolean(1)]" , while "foo!'3'" would mean the same as
> "foo!3".

I would be reluctant to lose [] for subscripting since it is
well-established for subscripting in other languages. Using ! for
subscripting doesn't fit very happily with its use in the "!=" operator.

James

Received on Wednesday, 14 July 1999 17:26:12 UTC