RelaxNG/publidoc.rng
changeset 56 5e5ea407a594
parent 53 37e9f6428d02
child 58 c099d1e7e57e
equal deleted inserted replaced
55:00d9c81d773f 56:5e5ea407a594
    46   </define>
    46   </define>
    47   <define name="document.content">
    47   <define name="document.content">
    48     <optional>
    48     <optional>
    49       <ref name="top.head"/>
    49       <ref name="top.head"/>
    50     </optional>
    50     </optional>
    51     <choice>
    51     <oneOrMore>
    52       <oneOrMore>
    52       <choice>
    53         <ref name="division"/>
    53         <ref name="division"/>
    54       </oneOrMore>
       
    55       <oneOrMore>
       
    56         <ref name="topic"/>
    54         <ref name="topic"/>
    57       </oneOrMore>
    55       </choice>
    58     </choice>
    56     </oneOrMore>
    59   </define>
    57   </define>
    60   <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ topic ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    58   <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ topic ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    61   <define name="top.topic">
    59   <define name="top.topic">
    62     <element name="topic">
    60     <element name="topic">
    63       <ref name="top.topic.attributes"/>
    61       <ref name="top.topic.attributes"/>
   538   </define>
   536   </define>
   539   <define name="division.content">
   537   <define name="division.content">
   540     <optional>
   538     <optional>
   541       <ref name="division.head"/>
   539       <ref name="division.head"/>
   542     </optional>
   540     </optional>
   543     <choice>
   541     <oneOrMore>
   544       <oneOrMore>
   542       <choice>
   545         <ref name="division"/>
   543         <ref name="division"/>
   546       </oneOrMore>
       
   547       <oneOrMore>
       
   548         <ref name="topic"/>
   544         <ref name="topic"/>
   549       </oneOrMore>
   545       </choice>
   550     </choice>
   546     </oneOrMore>
   551   </define>
   547   </define>
   552   <!--
   548   <!--
   553     =============================================================================
   549     =============================================================================
   554                                   COMPONENT LEVEL
   550                                   COMPONENT LEVEL
   555     =============================================================================
   551     =============================================================================