[MEI-L] MEI advice please

Roland, Perry (pdr4h) pdr4h at eservices.virginia.edu
Mon May 4 22:18:22 CEST 2009


Hi, all,

Up to this point, MEI has allowed both --

<measure>
  <staff>
    <layer>
      <note>
      <note>
      ...

and

<measure>
  <staff>
    <note/>
    <note/>
    ...

Is there any reason not to force the use of the first structure?  That is, the <layer> element must be used even if there's only a single layer.  This will add one more level to the structure of the tagging (and break any existing markup), but it makes specifying the content of <staff> somewhat easier.  That is, it makes it easier to deal with the differences between a CMN score, which will have the following structure --

<score>
  <measure>
    <staff>
      <layer>

and a measure-less score, which will have this structure --

<score>
  <staff>
    <layer>

In either case the content of <staff> remains the same, i.e., one or more <layer> elements.  Only the content of the <layer> element needs to change from one kind of notation to the other.

Anyone see something I'm missing?

--
p.

__________________________
Perry Roland
Scholarly Resources
University of Virginia Library
Post Office Box 400155
Charlottesville, VA 22904- 4155
434-982-2702 (w)
pdr4h at virginia.edu


More information about the mei-l mailing list