On 9 Apr 2024, at 11:28, Christian Grün <christian.gruen@gmail.com> wrote:
Hi Leo,Yes, they are equivalent. Version 2 is a bit faster because "." will only need to be atomized once.We’ll examine if BaseX can automatically rewrite version 1 to version 2.Best,ChristianOn Mon, Apr 8, 2024 at 11:59 PM Leo Studer <leo.studer@varioweb.ch> wrote:Helloare the following queries equivalent?1. //city[some $city in following::city satisfies string(.) eq string($city)]
2. //city[. = following::city ]
Thanks in advance,Leo