RelaxNG/publiset.rng
changeset 29 0bd36d3b6a5a
parent 27 31bda0a55c4d
child 30 c0f9e813c039
equal deleted inserted replaced
28:29c17c272cea 29:0bd36d3b6a5a
    39     </element>
    39     </element>
    40   </define>
    40   </define>
    41   <define name="composition.attributes">
    41   <define name="composition.attributes">
    42     <interleave>
    42     <interleave>
    43       <ref name="composition.id.attribute"/>
    43       <ref name="composition.id.attribute"/>
       
    44       <optional>
       
    45         <ref name="path.attribute"/>
       
    46       </optional>
       
    47       <optional>
       
    48         <ref name="xpath.attribute"/>
       
    49       </optional>
       
    50       <optional>
       
    51         <ref name="xslt.attribute"/>
       
    52       </optional>
    44       <ref name="remap.attributes"/>
    53       <ref name="remap.attributes"/>
    45     </interleave>
    54     </interleave>
    46   </define>
    55   </define>
    47   <define name="composition.id.attribute">
    56   <define name="composition.id.attribute">
    48     <attribute name="xml:id">
    57     <attribute name="xml:id">
    49       <data type="ID"/>
    58       <data type="ID"/>
    50     </attribute>
    59     </attribute>
       
    60   </define>
       
    61   <define name="path.attribute">
       
    62     <attribute name="path">
       
    63       <data type="anyURI"/>
       
    64     </attribute>
       
    65   </define>
       
    66   <define name="xslt.attribute">
       
    67     <attribute name="xslt">
       
    68       <data type="anyURI"/>
       
    69     </attribute>
       
    70   </define>
       
    71   <define name="xpath.attribute">
       
    72     <attribute name="xpath"/>
    51   </define>
    73   </define>
    52   <define name="composition.content">
    74   <define name="composition.content">
    53     <optional>
    75     <optional>
    54       <ref name="composition.head"/>
    76       <ref name="composition.head"/>
    55     </optional>
    77     </optional>
    66       <ref name="selection.attributes"/>
    88       <ref name="selection.attributes"/>
    67       <ref name="selection.content"/>
    89       <ref name="selection.content"/>
    68     </element>
    90     </element>
    69   </define>
    91   </define>
    70   <define name="selection.attributes">
    92   <define name="selection.attributes">
    71     <optional>
    93     <interleave>
    72       <ref name="path.attribute"/>
    94       <ref name="selection.id.attribute"/>
    73     </optional>
    95       <optional>
       
    96         <ref name="path.attribute"/>
       
    97       </optional>
       
    98       <optional>
       
    99         <ref name="xpath.attribute"/>
       
   100       </optional>
       
   101     </interleave>
    74   </define>
   102   </define>
    75   <define name="selection.id.attribute">
   103   <define name="selection.id.attribute">
    76     <attribute name="xml:id">
   104     <attribute name="xml:id">
    77       <data type="ID"/>
   105       <data type="ID"/>
    78     </attribute>
   106     </attribute>
   293     <interleave>
   321     <interleave>
   294       <optional>
   322       <optional>
   295         <ref name="path.attribute"/>
   323         <ref name="path.attribute"/>
   296       </optional>
   324       </optional>
   297       <optional>
   325       <optional>
       
   326         <ref name="xpath.attribute"/>
       
   327       </optional>
       
   328       <optional>
   298         <ref name="xslt.attribute"/>
   329         <ref name="xslt.attribute"/>
   299       </optional>
   330       </optional>
       
   331       <ref name="remap.attributes"/>
       
   332     </interleave>
       
   333   </define>
       
   334   <define name="selection.division.attributes">
       
   335     <interleave>
       
   336       <optional>
       
   337         <ref name="path.attribute"/>
       
   338       </optional>
   300       <optional>
   339       <optional>
   301         <ref name="xpath.attribute"/>
   340         <ref name="xpath.attribute"/>
   302       </optional>
   341       </optional>
   303       <ref name="remap.attributes"/>
   342     </interleave>
   304     </interleave>
       
   305   </define>
       
   306   <define name="selection.division.attributes">
       
   307     <optional>
       
   308       <ref name="path.attribute"/>
       
   309     </optional>
       
   310   </define>
       
   311   <define name="path.attribute">
       
   312     <attribute name="path">
       
   313       <data type="anyURI"/>
       
   314     </attribute>
       
   315   </define>
       
   316   <define name="xslt.attribute">
       
   317     <attribute name="xslt">
       
   318       <data type="anyURI"/>
       
   319     </attribute>
       
   320   </define>
       
   321   <define name="xpath.attribute">
       
   322     <attribute name="xpath"/>
       
   323   </define>
   343   </define>
   324   <define name="composition.division.content">
   344   <define name="composition.division.content">
   325     <optional>
   345     <optional>
   326       <ref name="composition.head"/>
   346       <ref name="composition.head"/>
   327     </optional>
   347     </optional>
   362     </element>
   382     </element>
   363   </define>
   383   </define>
   364   <define name="composition.file.attributes">
   384   <define name="composition.file.attributes">
   365     <interleave>
   385     <interleave>
   366       <optional>
   386       <optional>
       
   387         <ref name="xpath.attribute"/>
       
   388       </optional>
       
   389       <optional>
   367         <ref name="xslt.attribute"/>
   390         <ref name="xslt.attribute"/>
   368       </optional>
   391       </optional>
   369       <optional>
       
   370         <ref name="xpath.attribute"/>
       
   371       </optional>
       
   372       <ref name="remap.attributes"/>
   392       <ref name="remap.attributes"/>
   373     </interleave>
   393     </interleave>
   374   </define>
   394   </define>
   375   <define name="selection.file.attributes">
   395   <define name="selection.file.attributes">
   376     <interleave>
   396     <optional>
   377       <optional>
   397       <ref name="xpath.attribute"/>
   378         <ref name="xpath.attribute"/>
   398     </optional>
   379       </optional>
       
   380       <optional>
       
   381         <ref name="xslt.attribute"/>
       
   382       </optional>
       
   383     </interleave>
       
   384   </define>
   399   </define>
   385   <define name="file.content">
   400   <define name="file.content">
   386     <data type="anyURI"/>
   401     <data type="anyURI"/>
   387   </define>
   402   </define>
   388   <!--
   403   <!--