Re: [xsl] Scope of =>

Subject: Re: [xsl] Scope of =>
From: "Michael Kay michaelkay90@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 22 Aug 2024 13:18:36 -0000
> A = B => not()   and  (A=B) => not()
>
> Are different

Yes, the `=>` operator  has higher precedence than `=`.
>
>
> A/B/C => distinct-values()  and    (A/B/C) =>  distinct-values()

>
> Are the same

Yes, the `/` operator has higher precedence than `=>`.
>
>
> Where can I find the specifics?
>

Appendix A.5 of the XPath spec gives a summary of the operator precedences.
The normative specification is the EBNF grammar.

Michael Kay
Saxonica

Current Thread