Skip to content

Commit

Permalink
remove handling for fragmental mei file
Browse files Browse the repository at this point in the history
  • Loading branch information
riedde committed Nov 7, 2024
1 parent cc4fe8a commit aa3bbec
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions add/data/xql/getLinkTarget.xql
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,6 @@ 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 aa3bbec

Please sign in to comment.