RelaxNG/publidoc.rng
changeset 58 c099d1e7e57e
parent 56 5e5ea407a594
child 63 60d5d3f81e19
equal deleted inserted replaced
57:9a3492dd5ffe 58:c099d1e7e57e
   581     =============================================================================
   581     =============================================================================
   582   -->
   582   -->
   583   <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ section ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
   583   <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ section ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
   584   <define name="section">
   584   <define name="section">
   585     <element name="section">
   585     <element name="section">
       
   586       <ref name="section.attributes"/>
   586       <ref name="section.content"/>
   587       <ref name="section.content"/>
   587       <ref name="section.attributes"/>
   588     </element>
   588     </element>
   589   </define>
       
   590   <define name="section.attributes">
       
   591     <optional>
       
   592       <ref name="section.type.attribute"/>
       
   593     </optional>
       
   594   </define>
       
   595   <define name="section.type.attribute">
       
   596     <attribute name="type">
       
   597       <data type="NCName"/>
       
   598     </attribute>
   589   </define>
   599   </define>
   590   <define name="section.content">
   600   <define name="section.content">
   591     <optional>
   601     <optional>
   592       <ref name="section.head"/>
   602       <ref name="section.head"/>
   593     </optional>
   603     </optional>
   597       </oneOrMore>
   607       </oneOrMore>
   598       <oneOrMore>
   608       <oneOrMore>
   599         <ref name="block"/>
   609         <ref name="block"/>
   600       </oneOrMore>
   610       </oneOrMore>
   601     </choice>
   611     </choice>
   602   </define>
       
   603   <define name="section.attributes">
       
   604     <optional>
       
   605       <ref name="section.type.attribute"/>
       
   606     </optional>
       
   607   </define>
       
   608   <define name="section.type.attribute">
       
   609     <attribute name="type">
       
   610       <data type="NCName"/>
       
   611     </attribute>
       
   612   </define>
   612   </define>
   613   <!--
   613   <!--
   614     =============================================================================
   614     =============================================================================
   615                                     BLOCK LEVEL
   615                                     BLOCK LEVEL
   616     =============================================================================
   616     =============================================================================