pfefferniels / probstuecke-digital

A digital edition of the 24 Probstücke of the Oberclasse by Johann Mattheson.
http://probstuecke-digital.de
GNU General Public License v3.0
10 stars 1 forks source link

displaying Mattheson's annotations #75

Closed rettinghaus closed 4 years ago

rettinghaus commented 4 years ago

In some pieces (e.g. PS11) there are annotations by Mattheson in the left hand. These too shouldn't be displayed by default in the edition. That can be achieved by XSLT easily. Question is: how to encode it in a good way?

pfefferniels commented 4 years ago

Currently, it's encoded in a similiar way as the additional staff for annotations: a layerDef with an xml:id set to layer-mattheson defines the n of all the layers that are part of the annotations. Would you agree? The referenced commit hides those layers by default ...

rettinghaus commented 4 years ago

<layerDef> sounds good. I'm just wondering if the @xml:id approach is the way to go.

pfefferniels commented 4 years ago

@type perhaps …?

rettinghaus commented 4 years ago

Using @type for this sounds reasonable.