[MEI-L] @copyof and @sameas

TW zupftom at googlemail.com
Mon Jul 25 14:29:38 CEST 2011


We discussed the meaning of @copyof and @sameas during the meeting in
Detmold.  Just to reassure myself that my understanding of what we
finally agreed on is correct:

Elements with @copyof should not have content as the content is
replaced by the content of the referenced element.  (Virtually
replaced, or when "ironing", really replaced.)  The attributes are
also copied, but only those that weren't already set.  IDs have to be
changed or stripped to avoid duplicate IDs.

@sameas means that two elements are actually (musically?) the same,
but still have to be present twice (or more) in the MEI data.  Most
common example is a rest that is shared by two voices on a single
staff and has to be present in both layers.

Is that about correct?
Thomas Weber



More information about the mei-l mailing list