Add some elements for Scicos doc (internal links).
Vincent COUVERT [Thu, 8 Jan 2009 15:03:48 +0000 (16:03 +0100)]
scilab/modules/helptools/schema/scilab.rng

index 75cf68b..46bf5fb 100644 (file)
@@ -288,6 +288,8 @@ Refentry
   <define name="refsection">
     <element name="refsection">
       <ref name="common.attributes"/>
+      <!-- refsection.id added for Scicos doc -->
+      <ref name="refsection.id"/>
       <ref name="title"/>
       <choice>
         <group>
@@ -304,6 +306,12 @@ Refentry
       </choice>
     </element>
   </define>
+  <!-- refsection.id added for Scicos doc -->
+  <define name="refsection.id">
+    <attribute name="id">
+      <data type="string"/>
+    </attribute>
+  </define>
   <define name="chapter">
     <a:documentation>--------------------------------------------------------------------------
 Chapter, appendix, section
@@ -866,8 +874,27 @@ Paragraphs
       <zeroOrMore>
         <ref name="any.inline"/>
       </zeroOrMore>
+      <!-- para.xref added for Scicos doc -->
+      <zeroOrMore>
+        <ref name="para.xref"/>
+      </zeroOrMore>
+    </element>
+  </define>
+  <!-- para.xref added for Scicos doc -->
+  <define name="para.xref">
+    <element name="xref">
+      <ref name="xref.linkend.attribute"/>
+      <zeroOrMore>
+        <ref name="any.inline"/>
+      </zeroOrMore>
     </element>
   </define>
+  <!-- xref.linkend.attribute added for Scicos doc -->
+  <define name="xref.linkend.attribute">
+    <attribute name="linkend">
+      <data type="string"/>
+    </attribute>
+  </define>
   <define name="programlisting">
     <element name="programlisting">
       <ref name="common.attributes"/>