You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let $n := 7let $word := doc("/db/meanma/example-1.xml")//w[@wid eq"_1_d2e50"]
let $following-n-words := $word/following-sibling::w[fn:position() le $n]
The data (
example-1.xml
) looks like:The initial query setup looks like:
This expression returns no data:
Refactoring it to this (to remove the inner predicate), does return data:
Tested with eXist-db 7.0.0-SNAPSHOT (built from
develop
branch commit 097087b)The text was updated successfully, but these errors were encountered: