diff --git a/add/data/xqm/measure.xqm b/add/data/xqm/measure.xqm index d9c44eb8e..9239aa7de 100644 --- a/add/data/xqm/measure.xqm +++ b/add/data/xqm/measure.xqm @@ -108,7 +108,7 @@ declare function measure:getMeasureLabelAttr($measure as element(mei:measure)) a : @param $measureLabel The label of the measure : @return A span containing the label :) -declare function measure:makeMeasureLabelCritical($measure as node(), $measureLabel as xs:string) as node() { +declare function measure:makeMeasureLabelCritical($measure as node(), $measureLabel as xs:string) as element(xhtml:span) { let $measureParentElem := local-name($measure/parent::node()) return