RelaxNG/publiset.rnc
changeset 323 5ff538313a95
parent 317 78fcb5b0d156
child 350 58bbf6bb79e2
equal deleted inserted replaced
322:8343c0c76c42 323:5ff538313a95
   195 }
   195 }
   196 
   196 
   197 composition.attributes =
   197 composition.attributes =
   198    composition.id.attribute
   198    composition.id.attribute
   199  & lang.attribute?
   199  & lang.attribute?
       
   200  & path.attribute?
   200  & pi-source.attribute?
   201  & pi-source.attribute?
   201  & path.attribute?
       
   202  & (xpath.attribute | xslt.attribute)?
   202  & (xpath.attribute | xslt.attribute)?
   203  & remap.attributes
   203  & remap.attributes
   204 composition.id.attribute = attribute id { xsd:NMTOKEN }
   204 composition.id.attribute = attribute id { xsd:NMTOKEN }
   205 lang.attribute = attribute xml:lang { xsd:language }
   205 lang.attribute = attribute xml:lang { xsd:language }
       
   206 path.attribute = attribute path { xsd:anyURI }
   206 pi-source.attribute = attribute pi-source { xsd:boolean }
   207 pi-source.attribute = attribute pi-source { xsd:boolean }
   207 path.attribute = attribute path { xsd:anyURI }
   208 xpath.attribute = attribute xpath { text }
   208 xslt.attribute = attribute xslt { xsd:anyURI }
   209 xslt.attribute = attribute xslt { xsd:anyURI }
   209 xpath.attribute = attribute xpath { text }
       
   210 
   210 
   211 composition.content =
   211 composition.content =
   212    composition.head?,
   212    composition.head?,
   213    (composition.division | composition.file)+
   213    (composition.division | composition.file)+
   214 
   214