lib/metanorma/csa/csa.rng in metanorma-csa-2.1.10 vs lib/metanorma/csa/csa.rng in metanorma-csa-2.1.11
- old
+ new
@@ -3,10 +3,11 @@
<!--
Currently we inherit from a namespaced grammar, isostandard. Until we inherit from isodoc,
we cannot have a new default namespace: we will end up with a grammar with two different
namespaces, one for isostandard and one for csand additions. And we do not want that.
-->
+ <include href="relaton-csa.rng"/>
<include href="isodoc.rng">
<start>
<ref name="csand-standard"/>
</start>
<define name="figure">
@@ -51,49 +52,9 @@
<optional>
<ref name="dl"/>
</optional>
</group>
</choice>
- </element>
- </define>
- <define name="DocumentType">
- <choice>
- <value>guidance</value>
- <value>proposal</value>
- <value>standard</value>
- <value>report</value>
- <value>whitepaper</value>
- <value>charter</value>
- <value>policy</value>
- <value>glossary</value>
- <value>case-study</value>
- </choice>
- </define>
- <define name="BibDataExtensionType">
- <optional>
- <ref name="doctype"/>
- </optional>
- <optional>
- <ref name="docsubtype"/>
- </optional>
- <ref name="editorialgroup"/>
- <zeroOrMore>
- <ref name="ics"/>
- </zeroOrMore>
- </define>
- <define name="editorialgroup">
- <element name="editorialgroup">
- <oneOrMore>
- <ref name="technical-committee"/>
- </oneOrMore>
- </element>
- </define>
- <define name="technical-committee">
- <element name="committee">
- <optional>
- <attribute name="type"/>
- </optional>
- <text/>
</element>
</define>
</include>
<define name="csand-standard">
<element name="csa-standard">