Skip to content

Commit

Permalink
Update add/data/xql/getAnnotationsInText.xql
Browse files Browse the repository at this point in the history
Co-authored-by: Peter Stadler <[email protected]>
  • Loading branch information
hizclick and peterstadler authored Dec 4, 2024
1 parent c1ee68e commit d6ac0da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion add/data/xql/getAnnotationsInText.xql
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ declare option output:media-type "application/json";
declare function local:findAnnotations($uri as xs:string, $edition as xs:string) as element(mei:annot)* {

(: TODO: check if annotations hold URIs or IDRefs :)
collection(eutil:getPreference('edition_path', $edition))//mei:annot[matches(@plist, $uri)]
edition:collection($edition)//mei:annot[matches(@plist, $uri)]
};

declare function local:getAnnotations($uriSharp as xs:string, $annotations as element()*) as array(*)* {
Expand Down

0 comments on commit d6ac0da

Please sign in to comment.