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.
When converting an annotation to JSON the annotation module call the generic
eutil:getLocalizedTitle
function:https://github.com/Edirom/Edirom-Online/blob/ab873e092af1aea89c68d2b1135b856448476f5b/add/data/xqm/annotation.xqm#L82
The function is quite generic and returns the text of a title element:
https://github.com/Edirom/Edirom-Online/blob/ab873e092af1aea89c68d2b1135b856448476f5b/add/data/xqm/util.xqm#L107-L126
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.