RelaxNG/publidoc.rnc
changeset 37 83b7ec3c3132
parent 36 d23cfb7be79e
child 38 3c8b406be906
equal deleted inserted replaced
36:d23cfb7be79e 37:83b7ec3c3132
   271 section.content =
   271 section.content =
   272    section.head?,
   272    section.head?,
   273    (section+ | block+)
   273    (section+ | block+)
   274 
   274 
   275 section.attributes =
   275 section.attributes =
   276    status.attribute?
   276    section.type.attribute?
   277 status.attribute = attribute status { xsd:NCName }
   277 section.type.attribute = attribute type { xsd:NCName }
   278 
   278 
   279 
   279 
   280 # =============================================================================
   280 # =============================================================================
   281 #                                 BLOCK LEVEL
   281 #                                 BLOCK LEVEL
   282 # =============================================================================
   282 # =============================================================================
   395 # ~~~~~~ entry
   395 # ~~~~~~ entry
   396 entry = element entry { entry.content }
   396 entry = element entry { entry.content }
   397 
   397 
   398 entry.content =
   398 entry.content =
   399    inlines
   399    inlines
   400  | p+
   400  | (p | media)+
   401 
   401 
   402 # ~~~~~~ caption
   402 # ~~~~~~ caption
   403 caption = element caption { caption.content }
   403 caption = element caption { caption.content }
   404 
   404 
   405 caption.content =
   405 caption.content =