# HG changeset patch # User Patrick PIERRE # Date 1356012618 -3600 # Node ID fddb2b67c19c77b2018c4ab5485489659da43e02 # Parent 69782399eb506c5d375453b6d658a23d97f3c809 xpath et xslt exclusif diff -r 69782399eb50 -r fddb2b67c19c RelaxNG/publiset.rnc --- a/RelaxNG/publiset.rnc mar. déc. 18 22:40:03 2012 +0100 +++ b/RelaxNG/publiset.rnc jeu. déc. 20 15:10:18 2012 +0100 @@ -31,8 +31,7 @@ composition.attributes = composition.id.attribute & path.attribute? - & xpath.attribute? - & xslt.attribute? + & (xpath.attribute | xslt.attribute)? & remap.attributes & lang.attribute? composition.id.attribute = attribute id { xsd:NMTOKEN } @@ -101,8 +100,7 @@ composition.division.attributes = path.attribute? - & xpath.attribute? - & xslt.attribute? + & (xpath.attribute | xslt.attribute)? & remap.attributes selection.division.attributes = path.attribute? @@ -132,8 +130,7 @@ composition.file.attributes = name.attribute - & xpath.attribute? - & xslt.attribute? + & (xpath.attribute | xslt.attribute)? selection.file.attributes = name.attribute & uri.attribute?