Skip to content

Commit

Permalink
Revert "remove handling for fragmental mei file"
Browse files Browse the repository at this point in the history
This reverts commit aa3bbec.
  • Loading branch information
riedde committed Nov 7, 2024
1 parent aa3bbec commit f135780
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions add/data/xql/getLinkTarget.xql
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ declare function local:getWindowTitle($doc as node()+, $type as xs:string) as xs
(: Work :)
if (exists($doc//mei:mei) and exists($doc//mei:workDesc/mei:work) and not(exists($doc//mei:perfMedium))) then
(eutil:getLocalizedTitle(($doc//mei:work)[1]/mei:titleStmt[1], $lang))
else if (exists($doc/root()/mei:work)) then
(eutil:getLocalizedTitle($doc/root()/mei:work, $lang))

(: Recording :)
else if (exists($doc//mei:mei) and exists($doc//mei:recording)) then
Expand Down

0 comments on commit f135780

Please sign in to comment.