RelaxNG/publidoc.rng
changeset 11 2b32b535705c
parent 10 0c7725713208
child 12 2885b2c3ff59
equal deleted inserted replaced
10:0c7725713208 11:2b32b535705c
   403   <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ blocks ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
   403   <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ blocks ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
   404   <define name="block">
   404   <define name="block">
   405     <choice>
   405     <choice>
   406       <ref name="parag"/>
   406       <ref name="parag"/>
   407       <ref name="list"/>
   407       <ref name="list"/>
       
   408       <ref name="speech"/>
   408       <ref name="media"/>
   409       <ref name="media"/>
   409       <ref name="speech"/>
       
   410     </choice>
   410     </choice>
   411   </define>
   411   </define>
   412   <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parag ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
   412   <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parag ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
   413   <define name="parag">
   413   <define name="parag">
   414     <element name="parag">
   414     <element name="parag">
   436     </optional>
   436     </optional>
   437     <choice>
   437     <choice>
   438       <group>
   438       <group>
   439         <optional>
   439         <optional>
   440           <attribute name="type">
   440           <attribute name="type">
   441             <value>ordered</value>
   441             <value>itemized</value>
   442           </attribute>
   442           </attribute>
   443         </optional>
   443         </optional>
   444         <ref name="item"/>
   444         <ref name="item"/>
   445         <oneOrMore>
   445         <oneOrMore>
   446           <ref name="item"/>
   446           <ref name="item"/>
   447         </oneOrMore>
   447         </oneOrMore>
   448       </group>
   448       </group>
   449       <group>
   449       <group>
   450         <attribute name="type">
   450         <attribute name="type">
   451           <value>itemized</value>
   451           <value>ordered</value>
   452         </attribute>
   452         </attribute>
   453         <ref name="item"/>
   453         <ref name="item"/>
   454         <oneOrMore>
   454         <oneOrMore>
   455           <ref name="item"/>
   455           <ref name="item"/>
   456         </oneOrMore>
   456         </oneOrMore>
   495     </element>
   495     </element>
   496   </define>
   496   </define>
   497   <define name="label.content">
   497   <define name="label.content">
   498     <ref name="inlines"/>
   498     <ref name="inlines"/>
   499   </define>
   499   </define>
       
   500   <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ speech ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
       
   501   <!-- ~~~~~~ speech -->
       
   502   <define name="speech">
       
   503     <element name="speech">
       
   504       <ref name="speech.content"/>
       
   505     </element>
       
   506   </define>
       
   507   <define name="speech.content">
       
   508     <optional>
       
   509       <ref name="speaker"/>
       
   510     </optional>
       
   511     <optional>
       
   512       <ref name="stage"/>
       
   513     </optional>
       
   514     <oneOrMore>
       
   515       <ref name="parag"/>
       
   516     </oneOrMore>
       
   517   </define>
       
   518   <!-- ~~~~~~ speaker -->
       
   519   <define name="speaker">
       
   520     <element name="speaker">
       
   521       <ref name="speaker.content"/>
       
   522     </element>
       
   523   </define>
       
   524   <define name="speaker.content">
       
   525     <ref name="inlines"/>
       
   526   </define>
       
   527   <!-- ~~~~~~ stage -->
       
   528   <define name="stage">
       
   529     <element name="stage">
       
   530       <ref name="stage.content"/>
       
   531     </element>
       
   532   </define>
       
   533   <define name="stage.content">
       
   534     <ref name="inlines"/>
       
   535   </define>
   500   <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ media ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
   536   <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ media ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
   501   <!-- ~~~~~~ media -->
   537   <!-- ~~~~~~ media -->
   502   <define name="media">
   538   <define name="media">
   503     <element name="media">
   539     <element name="media">
   504       <ref name="media.content"/>
   540       <ref name="media.content"/>
   548     <element name="copyright">
   584     <element name="copyright">
   549       <ref name="copyright.content"/>
   585       <ref name="copyright.content"/>
   550     </element>
   586     </element>
   551   </define>
   587   </define>
   552   <define name="copyright.content">
   588   <define name="copyright.content">
   553     <ref name="inlines"/>
       
   554   </define>
       
   555   <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ speech ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
       
   556   <!-- ~~~~~~ speech -->
       
   557   <define name="speech">
       
   558     <element name="speech">
       
   559       <ref name="speech.content"/>
       
   560     </element>
       
   561   </define>
       
   562   <define name="speech.content">
       
   563     <optional>
       
   564       <ref name="speaker"/>
       
   565     </optional>
       
   566     <optional>
       
   567       <ref name="stage"/>
       
   568     </optional>
       
   569     <oneOrMore>
       
   570       <ref name="parag"/>
       
   571     </oneOrMore>
       
   572   </define>
       
   573   <!-- ~~~~~~ speaker -->
       
   574   <define name="speaker">
       
   575     <element name="speaker">
       
   576       <ref name="speaker.content"/>
       
   577     </element>
       
   578   </define>
       
   579   <define name="speaker.content">
       
   580     <ref name="inlines"/>
       
   581   </define>
       
   582   <!-- ~~~~~~ stage -->
       
   583   <define name="stage">
       
   584     <element name="stage">
       
   585       <ref name="stage.content"/>
       
   586     </element>
       
   587   </define>
       
   588   <define name="stage.content">
       
   589     <ref name="inlines"/>
   589     <ref name="inlines"/>
   590   </define>
   590   </define>
   591   <!--
   591   <!--
   592     =============================================================================
   592     =============================================================================
   593                                     Inline level
   593                                     Inline level