Print

Print


I am quite curious as to what leads you to want to do this. Would you 
mind explaining why the current content model is no use?
You say you're hamstrung by your editing software, which sounds 
uncomfortable...



On 16/03/15 15:08, Peter Stadler wrote:
> The following ODD snippet should do what you want:
>
> <elementSpec ident="cell" module="figures" mode="change">
>   <content>
>    <rng:zeroOrMore xmlns="http://relaxng.org/ns/structure/1.0">
>     <rng:choice>
>      <rng:text/>
>      <rng:ref name="model.gLike"/>
>      <rng:ref name="model.highlighted"/>
>      <rng:ref name="model.pPart.data"/>
>      <rng:ref name="model.pPart.edit"/>
>      <rng:ref name="model.segLike"/>
>      <rng:ref name="model.ptrLike"/>
>      <rng:ref name="model.biblPart"/>
>      <rng:ref name="model.global"/>
>     </rng:choice>
>    </rng:zeroOrMore>
>   </content>
> </elementSpec>
>
> You can paste it into your schemaSpec replacing/merging with your current definition of <cell>.
> If you need further help please feel free to send me your ODD file off list.
>
> Best
> Peter
>   
>
>> Am 16.03.2015 um 15:22 schrieb Jonathan Greenberg <[log in to unmask]>:
>>
>> I'm trying to change <cell> so that it can have all of the same contents as <bibl>, and I'm not having much luck. (I've only decided to do this after thoroughly exploring other options, but unfortunately, we're hamstrung because of the editing software we are using.) My first attempt, in Roma, was to replace the <ref name="macro.specialPara"/> with the contents allowed in <bibl>, but that didn't work. I'm afraid I'm not too adept at RelaxNG or ODD, but I have been able to make this kind of adjustment in the past. Any advice?
>>
>> Jonathan
>>
>> ***
>> Jonathan Greenberg
>> Project Development Coordinator
>> Répertoire International de Littérature Musicale (RILM)
>> The Graduate Center of The City University of New York
>> 365 Fifth Avenue
>> New York, NY 10016
>> +1 212 817 1988
>>
>>
>>