Skip to content

Commit

Permalink
Created a.render
Browse files Browse the repository at this point in the history
Replaced multiple attribute definitions with refs.  Eliminated
av.render.
  • Loading branch information
rockivist committed Mar 31, 2014
1 parent 1daefc8 commit 220d5c7
Showing 1 changed file with 39 additions and 55 deletions.
94 changes: 39 additions & 55 deletions ead_revised.rng
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,7 @@ For these and/or other purposes and motivations, and without any expectation of
<ref name="a.common"/>
<ref name="a.encodinganalog"/>
<ref name="a.relatedencoding"/>
<optional>
<attribute name="base">
<data type="anyURI"/>
</attribute>
</optional>
<ref name="a.base"/>
<optional>
<attribute name="langencoding">
<choice>
Expand Down Expand Up @@ -402,11 +398,7 @@ For these and/or other purposes and motivations, and without any expectation of
<ref name="a.common"/>
<ref name="a.encodinganalog"/>
<ref name="a.localtype"/>
<optional>
<attribute name="base">
<data type="anyURI"/>
</attribute>
</optional>
<ref name="a.base"/>

<oneOrMore>
<element name="source">
Expand Down Expand Up @@ -441,11 +433,7 @@ For these and/or other purposes and motivations, and without any expectation of
<element name="titleproper">
<ref name="a.common"/>
<ref name="a.localtype"/>
<optional>
<attribute name="render">
<ref name="av.render"/>
</attribute>
</optional>
<ref name="a.render"/>
<ref name="a.encodinganalog"/>
<ref name="m.mixed.basic"/>
</element>
Expand Down Expand Up @@ -1409,11 +1397,7 @@ For these and/or other purposes and motivations, and without any expectation of
<ref name="a.access"/>
<ref name="a.encodinganalog"/>
<ref name="a.relator"/>
<optional>
<attribute name="render">
<ref name="av.render"/>
</attribute>
</optional>
<ref name="a.render"/>
<oneOrMore>
<ref name="e.part"/>
</oneOrMore>
Expand Down Expand Up @@ -1755,23 +1739,15 @@ For these and/or other purposes and motivations, and without any expectation of
<define name="e.emph">
<element name="emph">
<ref name="a.common"/>
<optional>
<attribute name="render">
<ref name="av.render"/>
</attribute>
</optional>
<ref name="a.render"/>
<ref name="m.mixed.basic"/>
</element>
</define>

<define name="e.foreign">
<element name="foreign">
<ref name="a.common"/>
<optional>
<attribute name="render">
<ref name="av.render"/>
</attribute>
</optional>
<ref name="a.render"/>
<text/>
</element>
</define>
Expand Down Expand Up @@ -2203,11 +2179,7 @@ For these and/or other purposes and motivations, and without any expectation of
<ref name="a.common"/>
<ref name="a.encodinganalog"/>
<ref name="a.localtype"/>
<optional>
<attribute name="base">
<data type="anyURI"/>
</attribute>
</optional>
<ref name="a.base"/>
<oneOrMore>
<element name="relation">
<ref name="a.common"/>
Expand Down Expand Up @@ -2903,6 +2875,38 @@ For these and/or other purposes and motivations, and without any expectation of
<attribute name="certainty"/>
</optional>
</define>

<define name="a.base">
<optional>
<attribute name="base">
<data type="anyURI"/>
</attribute>
</optional>
</define>

<define name="a.render">
<optional>
<attribute name="render">
<choice>
<value>altrender</value>
<value>bold</value>
<value>bolddoublequote</value>
<value>bolditalic</value>
<value>boldsinglequote</value>
<value>boldsmcaps</value>
<value>boldunderline</value>
<value>doublequote</value>
<value>italic</value>
<value>nonproport</value>
<value>singlequote</value>
<value>smcaps</value>
<value>sub</value>
<value>super</value>
<value>underline</value>
</choice>
</attribute>
</optional>
</define>

<!-- ATTRIBUTE VALUE LISTS -->

Expand All @@ -2922,26 +2926,6 @@ For these and/or other purposes and motivations, and without any expectation of
</choice>
</define>

<define name="av.render">
<choice>
<value>altrender</value>
<value>bold</value>
<value>bolddoublequote</value>
<value>bolditalic</value>
<value>boldsinglequote</value>
<value>boldsmcaps</value>
<value>boldunderline</value>
<value>doublequote</value>
<value>italic</value>
<value>nonproport</value>
<value>singlequote</value>
<value>smcaps</value>
<value>sub</value>
<value>super</value>
<value>underline</value>
</choice>
</define>

<define name="av.zeroorone">
<choice>
<value>0</value>
Expand Down

0 comments on commit 220d5c7

Please sign in to comment.