<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Thomas,<div><br></div><div>I think you're looking for @source on <rdg>. </div><div><br></div><div><meiHead></div><div>....</div><div><sourceDesc><br>  <source xml:id="sourceA"><br>    <pubStmt/></div><div>  </source><br>  <source xml:id="sourceB"><br>    <pubStmt/><br>  </source><br></div><div></sourceDesc></div><div>....</div><div></meiHead></div><div>...</div><div><span class="Apple-style-span" style="font-family: monospace; "><measure n="1"></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">   <app></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">     <rdg source="sourceA"></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">       <staff n="1"></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">         <!-- Some music --></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">       </staff></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">     </rdg></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">     <rdg source="sourceB"></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">       <staff n="1"></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">         <!-- Some variant of the music --></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">       </staff></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">     </rdg></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">   </app></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">   <staff n="2"/></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">   <staff n="3"/></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">   <staff n="4"/></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">   <staff n="5"/></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">   <staff n="6"/></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">   <staff n="7"/></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">   <staff n="8"/></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">   <staff n="9"/></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">   <staff n="10"/></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; "> </measure></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; "> <measure n="2"></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">   <app></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">     <rdg source="sourceA"></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">       <staff n="1"></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">         <!-- Some more music --></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">       </staff></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">     </rdg></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">     <rdg source="sourceB"></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">       <staff n="1"></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">         <!-- Continued variant of the music --></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">       </staff></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">     </rdg></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">   </app></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">   <staff n="2"/></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">   <staff n="3"/></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">   <staff n="4"/></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">   <staff n="5"/></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">   <staff n="6"/></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">   <staff n="7"/></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">   <staff n="8"/></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">   <staff n="9"/></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">   <staff n="10"/></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; "> </measure></span></div><div><font class="Apple-style-span" face="monospace"><br></font></div><div><font class="Apple-style-span" face="monospace">@source can take a space-delimited list of xml:ids too.</font></div><div><font class="Apple-style-span" face="monospace"><br></font></div><div><font class="Apple-style-span" face="monospace">-Andrew</font></div><div><font class="Apple-style-span" face="monospace"><br></font><div><div>On 2012-07-15, at 2:24 AM, TW wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Dear MEI family,<br><br>how does one encode variant readings that only affect a certain<br>"strand" of events? For example, if we have a full orchestral score<br>where there are different readings of the flute's measures 1 and 2, I<br>see the following options:<br>1a) One big <app> around measure 1 and 2, containing all staffs twice, like so:<br>  <app><br>    <rdg><br>      <measure n="1"><br>        <staff n="1"><br>          <!-- Some music --><br>        </staff><br>        <staff n="2"/><br>        <staff n="3"/><br>        <staff n="4"/><br>        <staff n="5"/><br>        <staff n="6"/><br>        <staff n="7"/><br>        <staff n="8"/><br>        <staff n="9"/><br>        <staff n="10"/><br>      </measure><br>      <measure n="2"><br>        <staff n="1"><br>          <!-- Some more music --><br>        </staff><br>        <staff n="2"/><br>        <staff n="3"/><br>        <staff n="4"/><br>        <staff n="5"/><br>        <staff n="6"/><br>        <staff n="7"/><br>        <staff n="8"/><br>        <staff n="9"/><br>        <staff n="10"/><br>      </measure><br>    </rdg><br>    <rdg><br>      <measure n="1"><br>        <staff n="1"><br>          <!-- Some variant of the music --><br>        </staff><br>        <staff n="2"/><br>        <staff n="3"/><br>        <staff n="4"/><br>        <staff n="5"/><br>        <staff n="6"/><br>        <staff n="7"/><br>        <staff n="8"/><br>        <staff n="9"/><br>        <staff n="10"/><br>      </measure><br>      <measure n="2"><br>        <staff n="1"><br>          <!-- Continued variant of the music --><br>        </staff><br>        <staff n="2"/><br>        <staff n="3"/><br>        <staff n="4"/><br>        <staff n="5"/><br>        <staff n="6"/><br>        <staff n="7"/><br>        <staff n="8"/><br>        <staff n="9"/><br>        <staff n="10"/><br>      </measure><br>    </rdg><br>  </app><br>This already seems like overkill, although I didn't even fill the<br>staffs with music.  And facing such a monster, you'd have to look very<br>closely to spot the actual variant readings, so this is certainly not<br>the way to go.<br><br>1b) To avoid filling the staffs twice, one could of course use @copyof<br>the second time. But this might break ID references.<br><br>2) Split this in two <app>s, like so:<br>  <measure n="1"><br>    <app><br>      <rdg><br>        <staff n="1"><br>          <!-- Some music --><br>        </staff><br>      </rdg><br>      <rdg><br>        <staff n="1"><br>          <!-- Some variant of the music --><br>        </staff><br>      </rdg><br>    </app><br>    <staff n="2"/><br>    <staff n="3"/><br>    <staff n="4"/><br>    <staff n="5"/><br>    <staff n="6"/><br>    <staff n="7"/><br>    <staff n="8"/><br>    <staff n="9"/><br>    <staff n="10"/><br>  </measure><br>  <measure n="2"><br>    <app><br>      <rdg><br>        <staff n="1"><br>          <!-- Some more music --><br>        </staff><br>      </rdg><br>      <rdg><br>        <staff n="1"><br>          <!-- Continued variant of the music --><br>        </staff><br>      </rdg><br>    </app><br>    <staff n="2"/><br>    <staff n="3"/><br>    <staff n="4"/><br>    <staff n="5"/><br>    <staff n="6"/><br>    <staff n="7"/><br>    <staff n="8"/><br>    <staff n="9"/><br>    <staff n="10"/><br>  </measure><br>This looks preferable to me, especially because it allows<br>"overlapping" variants, e.g. when there is another phrase with variant<br>readings, but this time for the basses from measure 2 to 3.<br>Unfortunately, I don't see a really good way to indicate that any two<br>or more <app> elements form a logical unit. I think that the<br>att.common.anl family of attributes might be useful for this,<br>especially the @prev and @next attributes because they imply the<br>concept of a "collection".  The next best solution might be to use<br>@prev and @next on the contained <lem> and <rdg> elements, but<br>providing them on <app> would make things much clearer and easier.<br><br>Therefore, shouldn't att.common.anl be allowed on <app>?<br><br>Thomas<br><br>_______________________________________________<br>mei-l mailing list<br><a href="mailto:mei-l@lists.uni-paderborn.de">mei-l@lists.uni-paderborn.de</a><br>https://lists.uni-paderborn.de/mailman/listinfo/mei-l<br></div></blockquote></div><br></div></body></html>