RelaxNG/publiset.rnc
changeset 167 ea989bffd987
parent 161 1f9fa4e74cd0
child 171 f934064af908
--- a/RelaxNG/publiset.rnc	lun. févr. 04 22:48:10 2013 +0100
+++ b/RelaxNG/publiset.rnc	dim. févr. 10 09:59:12 2013 +0100
@@ -126,19 +126,16 @@
 
 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
-composition.file = element file { composition.file.attributes }
+composition.file = element file { composition.file.attributes, file.content }
 selection.file = element file { selection.file.attributes, file.content }
 
 composition.file.attributes =
-   name.attribute
- & path.attribute?
+   path.attribute?
  & (xpath.attribute | xslt.attribute)?
 selection.file.attributes =
-   name.attribute
- & uri.attribute?
-name.attribute = attribute name { xsd:anyURI }
+   path.attribute?
 
-file.content = inlines
+file.content = xsd:anyURI
 
 
 # =============================================================================