[MEI-L] <syl> inside <choice>

TW zupftom at googlemail.com
Thu Mar 8 22:03:52 CET 2012


2012/3/8 Roland, Perry (pdr4h) <pdr4h at eservices.virginia.edu>:
>
> Because <choice> is a member of model.editLike, it is allowed in the content of <syl>.
>
> <!-- syl content -->
> <content>
>  <rng:zeroOrMore>
>    <rng:choice>
>      <rng:text/>
>      <rng:ref name="model.textphraseLike.limited"/>
>      <rng:ref name="model.editLike"/>
>      <rng:ref name="model.transcriptionLike"/>
>    </rng:choice>
>  </rng:zeroOrMore>
> </content>
>
> So, this should validate:
>
> <syl>
>  <choice>
>    <orig><!-- English --></orig>
>    <reg><!-- German --></orig>
>  </choice>
> </syl>
>

Ah, that's the way to go!  Thanks!

Thomas



More information about the mei-l mailing list