lib/metanorma/csa/isodoc.rng in metanorma-csa-2.2.13 vs lib/metanorma/csa/isodoc.rng in metanorma-csa-2.3.0
- old
+ new
@@ -15,11 +15,11 @@
DO NOT introduce a namespace here. We do not want a distinct namespace
for these elements, and a distinct namespace for any grammar inheriting
these elements; we just want one namespace for any child grammars
of this.
-->
-<!-- VERSION v1.2.2 -->
+<!-- VERSION v1.2.3 -->
<grammar xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
<include href="reqt.rng"/>
<include href="basicdoc.rng">
<define name="admonition">
<element name="admonition">
@@ -190,14 +190,16 @@
<attribute name="normative">
<data type="boolean"/>
</attribute>
</optional>
<attribute name="citeas"/>
- <attribute name="type">
- <ref name="ReferenceFormat"/>
- </attribute>
<optional>
+ <attribute name="type">
+ <ref name="ReferenceFormat"/>
+ </attribute>
+ </optional>
+ <optional>
<attribute name="alt"/>
</optional>
<optional>
<attribute name="case">
<choice>
@@ -832,9 +834,29 @@
<attribute name="id">
<data type="ID"/>
</attribute>
</optional>
<ref name="paragraph"/>
+ </element>
+ </define>
+ <define name="stem">
+ <element name="stem">
+ <attribute name="type">
+ <choice>
+ <value>MathML</value>
+ <value>AsciiMath</value>
+ <value>LatexMath</value>
+ </choice>
+ </attribute>
+ <attribute name="block">
+ <data type="boolean"/>
+ </attribute>
+ <oneOrMore>
+ <choice>
+ <text/>
+ <ref name="AnyElement"/>
+ </choice>
+ </oneOrMore>
</element>
</define>
<define name="em">
<element name="em">
<zeroOrMore>