On 08/04/2024 23:58, Leo Studer wrote:
Hello

are the following queries equivalent?

1. //city[some $city in following::city satisfies string(.) eq string($city)]


2. //city[. = following::city ]



More or less, I would say, depending on whether there is schema-aware processing done or not where perhaps . = following::city might not do string comparison.