Print

Print


Sebastian,

     This looks good!  Now that I see it, I'm like "of course"! ;-)

     thanks,

Scott


On 5/27/2015 3:46 PM, Sebastian Rahtz wrote:
>> On 27 May 2015, at 20:46, Scott Derrick <[log in to unmask]> wrote:
>>
>> I've been trying to add an additional element as a child of <text>,  preferably following the <body> element.
> Sorry, its not very elegant. You’ll have to do <elementSpec mode=“change” ident=“text”> and replicate the
> whole content model (below), adding in your new element where needed. There are no convenient model
> classes here for you to add to.
>
> not a request I remember seeing before, strangely.
>
>
> <content>
>      <group xmlns="http://relaxng.org/ns/structure/1.0">
>        <zeroOrMore>
>          <ref name="model.global"/>
>        </zeroOrMore>
>        <optional>
>          <ref name="front"/>
>          <zeroOrMore>
>            <ref name="model.global"/>
>          </zeroOrMore>
>        </optional>
>        <choice>
>          <ref name="body"/>
>          <ref name="group"/>
>        </choice>
>        <zeroOrMore>
>          <ref name="model.global"/>
>        </zeroOrMore>
>        <optional>
>          <ref name="back"/>
>          <zeroOrMore>
>            <ref name="model.global"/>
>          </zeroOrMore>
>        </optional>
>      </group>
>    </content>
>
>
> Sebastian Rahtz
> Chief Data Architect
> University of Oxford IT Services
> +44 1865 283431
>
>
>
>
>


---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com