Sha256: adc3ebb3e8e88df85f24c7d6535dfd56d2b37e61a5afbcaa3da33f5ad45eb337

Contents?: true

Size: 1.81 KB

Versions: 8

Compression:

Stored size: 1.81 KB

Contents

<?xml version="1.0" encoding="UTF-8"?>
<grammar ns='https://www.metanorma.org/ns/csa' xmlns="http://relaxng.org/ns/structure/1.0">
  <!--
    VERSION v1.2.1
    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="FigureBody">
      <zeroOrMore>
        <ref name="source"/>
      </zeroOrMore>
      <optional>
        <ref name="tname"/>
      </optional>
      <choice>
        <oneOrMore>
          <ref name="figure"/>
        </oneOrMore>
        <group>
          <choice>
            <zeroOrMore>
              <ref name="TextElement"/>
            </zeroOrMore>
            <ref name="pre"/>
          </choice>
          <zeroOrMore>
            <ref name="note"/>
          </zeroOrMore>
          <optional>
            <ref name="dl"/>
          </optional>
        </group>
      </choice>
    </define>
  </include>
  <define name="csand-standard">
    <element name="csa-standard">
      <ref name="Root-Attributes"/>
      <ref name="bibdata"/>
      <zeroOrMore>
        <ref name="termdocsource"/>
      </zeroOrMore>
      <optional>
        <ref name="misccontainer"/>
      </optional>
      <optional>
        <ref name="boilerplate"/>
      </optional>
      <ref name="preface"/>
      <oneOrMore>
        <ref name="sections"/>
      </oneOrMore>
      <zeroOrMore>
        <ref name="annex"/>
      </zeroOrMore>
      <ref name="bibliography"/>
      <zeroOrMore>
        <ref name="indexsect"/>
      </zeroOrMore>
    </element>
  </define>
</grammar>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
metanorma-csa-2.5.5 lib/metanorma/csa/csa.rng
metanorma-csa-2.5.4 lib/metanorma/csa/csa.rng
metanorma-csa-2.5.3 lib/metanorma/csa/csa.rng
metanorma-csa-2.5.2 lib/metanorma/csa/csa.rng
metanorma-csa-2.5.1 lib/metanorma/csa/csa.rng
metanorma-csa-2.5.0 lib/metanorma/csa/csa.rng
metanorma-csa-2.4.12 lib/metanorma/csa/csa.rng
metanorma-csa-2.4.11 lib/metanorma/csa/csa.rng