RelaxNG/publiset.rnc
changeset 382 156ce0e2f943
parent 362 c9c19db11584
child 383 b4827053c315
equal deleted inserted replaced
381:429101cc5d26 382:156ce0e2f943
    11 publiset.attributes =
    11 publiset.attributes =
    12    version.attribute
    12    version.attribute
    13 version.attribute = attribute version { "1.0" }
    13 version.attribute = attribute version { "1.0" }
    14 
    14 
    15 publiset.content =
    15 publiset.content =
    16    (composition | selection)+
    16    composition
       
    17  | selection
    17 
    18 
    18 
    19 
    19 # =============================================================================
    20 # =============================================================================
    20 #                                  HEAD LEVEL
    21 #                                  HEAD LEVEL
    21 # =============================================================================
    22 # =============================================================================
   209    composition.attributes,
   210    composition.attributes,
   210    composition.content
   211    composition.content
   211 }
   212 }
   212 
   213 
   213 composition.attributes =
   214 composition.attributes =
   214    composition.id.attribute
   215    composition.id.attribute?
   215  & lang.attribute?
   216  & lang.attribute?
   216  & path.attribute?
   217  & path.attribute?
   217  & pi-source.attribute?
   218  & pi-source.attribute?
   218  & (xpath.attribute | xslt.attribute)?
   219  & (xpath.attribute | xslt.attribute)?
   219  & remap.attributes
   220  & remap.attributes
   257    selection.attributes,
   258    selection.attributes,
   258    selection.content
   259    selection.content
   259 }
   260 }
   260 
   261 
   261 selection.attributes =
   262 selection.attributes =
   262    selection.id.attribute
   263    selection.id.attribute?
   263  & lang.attribute?
   264  & lang.attribute?
   264  & path.attribute?
   265  & path.attribute?
   265 selection.id.attribute = attribute id { xsd:NMTOKEN }
   266 selection.id.attribute = attribute id { xsd:NMTOKEN }
   266 
   267 
   267 selection.content =
   268 selection.content =