RelaxNG/publiset.rnc
changeset 35 de4114d12ef1
parent 34 c51d5097d065
child 36 d23cfb7be79e
equal deleted inserted replaced
34:c51d5097d065 35:de4114d12ef1
    77  & identifier*
    77  & identifier*
    78  & language?
    78  & language?
    79  & author*
    79  & author*
    80  & publisher?
    80  & publisher?
    81  & source?
    81  & source?
       
    82  & cover?
    82 division.head.content =
    83 division.head.content =
    83    (title, subtitle?)?
    84    (title, subtitle?)?
    84  & language?
    85  & language?
    85 
    86 
    86 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ title, subtitle ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    87 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ title, subtitle ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   178 
   179 
   179 pagenumber.attributes =
   180 pagenumber.attributes =
   180    pagenumber.value.attribute
   181    pagenumber.value.attribute
   181 pagenumber.value.attribute = attribute value { pagenumber.value.enumeration }
   182 pagenumber.value.attribute = attribute value { pagenumber.value.enumeration }
   182 pagenumber.value.enumeration = xsd:positiveInteger
   183 pagenumber.value.enumeration = xsd:positiveInteger
       
   184 
       
   185 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cover ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       
   186 
       
   187 cover = element cover { cover.content }
       
   188 
       
   189 cover.content =
       
   190    cover.image
       
   191 
       
   192 cover.image = element image { cover.image.attributes }
       
   193 
       
   194 cover.image.attributes =
       
   195    cover.image.id.attribute
       
   196 cover.image.id.attribute = attribute id { xsd:NMTOKEN }
   183 
   197 
   184 
   198 
   185 # =============================================================================
   199 # =============================================================================
   186 #                                DIVISION LEVEL
   200 #                                DIVISION LEVEL
   187 # =============================================================================
   201 # =============================================================================