base -> path
authorPatrick PIERRE <patrick.pierre@prismallia.fr>
jeu., 16 juin 2011 16:30:58 +0200
changeset 26 cc3ab0784a7b
parent 25 d77ae7040e3e
child 27 31bda0a55c4d
base -> path
RelaxNG/publiset.rnc
RelaxNG/publiset.rng
Xml/Sets/topic_set.xml
--- a/RelaxNG/publiset.rnc	mar. juin 14 17:13:46 2011 +0200
+++ b/RelaxNG/publiset.rnc	jeu. juin 16 16:30:58 2011 +0200
@@ -154,13 +154,13 @@
 }
 
 composition.division.attributes =
-   base.attribute?
+   path.attribute?
  & xslt.attribute?
  & xpath.attribute?
  & remap.attributes
 selection.division.attributes =
-   base.attribute?
-base.attribute = attribute base { xsd:anyURI }
+   path.attribute?
+path.attribute = attribute path { xsd:anyURI }
 xslt.attribute = attribute xslt { xsd:anyURI }
 xpath.attribute = attribute xpath { text }
 
--- a/RelaxNG/publiset.rng	mar. juin 14 17:13:46 2011 +0200
+++ b/RelaxNG/publiset.rng	jeu. juin 16 16:30:58 2011 +0200
@@ -292,7 +292,7 @@
   <define name="composition.division.attributes">
     <interleave>
       <optional>
-        <ref name="base.attribute"/>
+        <ref name="path.attribute"/>
       </optional>
       <optional>
         <ref name="xslt.attribute"/>
@@ -305,11 +305,11 @@
   </define>
   <define name="selection.division.attributes">
     <optional>
-      <ref name="base.attribute"/>
+      <ref name="path.attribute"/>
     </optional>
   </define>
-  <define name="base.attribute">
-    <attribute name="base">
+  <define name="path.attribute">
+    <attribute name="path">
       <data type="anyURI"/>
     </attribute>
   </define>
--- a/Xml/Sets/topic_set.xml	mar. juin 14 17:13:46 2011 +0200
+++ b/Xml/Sets/topic_set.xml	jeu. juin 16 16:30:58 2011 +0200
@@ -9,7 +9,7 @@
       </head>
 
       <!-- ========================== Événements ========================== -->
-      <division base="../Topics" xslt="simplified_head.xsl">
+      <division path="../Topics" xslt="simplified_head.xsl">
         <head>
           <title>Les événements</title>
         </head>
@@ -26,7 +26,7 @@
       </division>
       
       <!-- =========================== Photos ============================= -->
-      <division base="../Topics">
+      <division path="../Topics">
         <head>
           <title>Les photos légendées</title>
         </head>