Skip to content

Commit

Permalink
Fix for #281
Browse files Browse the repository at this point in the history
  • Loading branch information
nikobeer committed Jun 4, 2024
1 parent 3d331d4 commit fe4ed58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion add/data/xql/getAnnotation.xql
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ declare function local:getItemLabel($elem as element()) {
let $name := local-name($elem)
return (
if($name = 'measure')
then(if ($lang = 'de') then (concat('Takt ',$elem/@n)) else (concat('Bar ',$elem/@n)))
then(if ($lang = 'de') then (concat('Takt ', if ($elem/@label) then ($elem/@label) else ($elem/@n))) else (concat('Bar ',if ($elem/@label) then ($elem/@label) else ($elem/@n))))
else(),

if($name = 'staff')
Expand Down

0 comments on commit fe4ed58

Please sign in to comment.