RelaxNG/publidoc.rnc
changeset 39 7faa356bad3e
parent 38 3c8b406be906
child 40 7cfe2d4957c6
equal deleted inserted replaced
38:3c8b406be906 39:7faa356bad3e
    61 
    61 
    62 top.head.content =
    62 top.head.content =
    63    (title, subtitle?)?
    63    (title, subtitle?)?
    64  & identifier*
    64  & identifier*
    65  & language?
    65  & language?
       
    66  & copyright?
    66  & author*
    67  & author*
    67  & publisher?
    68  & publisher?
    68  & date?
    69  & date?
    69  & place?
    70  & place?
    70  & source*
    71  & source*
   113 
   114 
   114 language.attributes =
   115 language.attributes =
   115    lang.attribute
   116    lang.attribute
   116 lang.attribute = attribute xml:lang { xsd:language }
   117 lang.attribute = attribute xml:lang { xsd:language }
   117 
   118 
       
   119 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ copyright ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       
   120 
       
   121 copyright = element copyright { copyright.content }
       
   122 
       
   123 copyright.content = inlines
       
   124 
   118 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ author, publisher ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   125 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ author, publisher ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   119 
   126 
   120 # ~~~~~~ author
   127 # ~~~~~~ author
   121 author = element author { author.content }
   128 author = element author { author.content }
   122 
   129 
   424    media.id.attribute
   431    media.id.attribute
   425 media.id.attribute = attribute id { xsd:NMTOKEN }
   432 media.id.attribute = attribute id { xsd:NMTOKEN }
   426 
   433 
   427 image.content =
   434 image.content =
   428    copyright?
   435    copyright?
   429 
       
   430 # ~~~~~~ copyright
       
   431 copyright = element copyright { copyright.content }
       
   432 
       
   433 copyright.content = inlines
       
   434 
   436 
   435 
   437 
   436 # =============================================================================
   438 # =============================================================================
   437 #                                 INLINE LEVEL
   439 #                                 INLINE LEVEL
   438 # =============================================================================
   440 # =============================================================================