You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let $titleTEI := if ($lang != ''and $lang = $node/tei:title/@xml:lang)
then $node/tei:title[@xml:lang = $lang]/text()
else $node/tei:title[1]/text()
return
if ($namespace = 'mei')
then($titleMEI)
elseif ($namespace = 'tei')
then($titleTEI)
else('unknown')
};
Concerning mei:annot the presence of mei:title already was a workaround in Edirom Online based on MEI 2.1.1 (2013( due to the unavailability of mei:head in mei:annot, as by definition mei:title is (and was) defined as: “Title of a bibliographic entity.”
If applicable, we should look for mei:head in this context.
The text was updated successfully, but these errors were encountered:
When converting an annotation to JSON the annotation module call the generic
eutil:getLocalizedTitle
function:Edirom-Online/add/data/xqm/annotation.xqm
Line 82 in ab873e0
The function is quite generic and returns the text of a title element:
Edirom-Online/add/data/xqm/util.xqm
Lines 107 to 126 in ab873e0
Concerning
mei:annot
the presence ofmei:title
already was a workaround in Edirom Online based on MEI 2.1.1 (2013( due to the unavailability ofmei:head
inmei:annot
, as by definitionmei:title
is (and was) defined as: “Title of a bibliographic entity.”If applicable, we should look for
mei:head
in this context.The text was updated successfully, but these errors were encountered: