Skip to content

Commit

Permalink
Merge pull request #380 from Edirom/fix/annotToolTip-measureNo-#281
Browse files Browse the repository at this point in the history
Fix for #281
  • Loading branch information
bwbohl authored Jun 19, 2024
2 parents c2aface + a55a0f5 commit 78d4d32
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions add/data/xql/getAnnotation.xql
Original file line number Diff line number Diff line change
Expand Up @@ -202,11 +202,11 @@ declare function local:getItemLabel($elem as element()) {

let $name := local-name($elem)
return (
if ($name = 'measure') then (
if($name = 'measure') then (
if ($lang = 'de') then
(concat('Takt ', $elem/@n))
(concat('Takt ', if ($elem/@label) then ($elem/@label) else ($elem/@n)))
else
(concat('Bar ', $elem/@n))
(concat('Bar ',if ($elem/@label) then ($elem/@label) else ($elem/@n)))
) else
(),

Expand Down

0 comments on commit 78d4d32

Please sign in to comment.