RelaxNG/publiset.rnc
changeset 323 5ff538313a95
parent 317 78fcb5b0d156
child 350 58bbf6bb79e2
--- a/RelaxNG/publiset.rnc	mer. août 06 08:20:21 2014 +0200
+++ b/RelaxNG/publiset.rnc	dim. août 24 16:47:38 2014 +0200
@@ -197,16 +197,16 @@
 composition.attributes =
    composition.id.attribute
  & lang.attribute?
+ & path.attribute?
  & pi-source.attribute?
- & path.attribute?
  & (xpath.attribute | xslt.attribute)?
  & remap.attributes
 composition.id.attribute = attribute id { xsd:NMTOKEN }
 lang.attribute = attribute xml:lang { xsd:language }
+path.attribute = attribute path { xsd:anyURI }
 pi-source.attribute = attribute pi-source { xsd:boolean }
-path.attribute = attribute path { xsd:anyURI }
+xpath.attribute = attribute xpath { text }
 xslt.attribute = attribute xslt { xsd:anyURI }
-xpath.attribute = attribute xpath { text }
 
 composition.content =
    composition.head?,