Sha256: 640f9ac01cb9e285f255e67a10275dbf79dcb204ffad86adfa58779b14d58ef5

Contents?: true

Size: 1.95 KB

Versions: 34

Compression:

Stored size: 1.95 KB

Contents

<?xml version="1.0" encoding="UTF-8"?>
<grammar ns='https://www.metanorma.org/ns/ogc' 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-ogc.rng"/>
  <include href="isodoc.rng">
    <start>
      <ref name="ogc-standard"/>
    </start>
    <define name="preface">
      <element name="preface">
        <optional>
          <ref name="abstract"/>
        </optional>
        <ref name="foreword"/>
        <optional>
          <ref name="submitters"/>
        </optional>
      </element>
    </define>
  </include>
  <define name="TextElement" combine="choice">
    <ref name="hi"/>
  </define>
  <define name="PureTextElement" combine="choice">
    <ref name="hi"/>
  </define>
  <define name="hi">
    <element name="hi">
      <zeroOrMore>
        <choice>
          <ref name="PureTextElement"/>
          <ref name="stem"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="submitters">
    <element name="submitters">
      <ref name="Basic-Section"/>
    </element>
  </define>
  <define name="ogc-standard">
    <element name="ogc-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

34 entries across 34 versions & 1 rubygems

Version Path
metanorma-ogc-2.5.0 lib/metanorma/ogc/ogc.rng
metanorma-ogc-2.4.9 lib/metanorma/ogc/ogc.rng
metanorma-ogc-2.4.7 lib/metanorma/ogc/ogc.rng
metanorma-ogc-2.4.6 lib/metanorma/ogc/ogc.rng
metanorma-ogc-2.4.3 lib/metanorma/ogc/ogc.rng
metanorma-ogc-2.4.2 lib/metanorma/ogc/ogc.rng
metanorma-ogc-2.4.1 lib/metanorma/ogc/ogc.rng
metanorma-ogc-2.4.0 lib/metanorma/ogc/ogc.rng
metanorma-ogc-2.3.14 lib/metanorma/ogc/ogc.rng
metanorma-ogc-2.3.13 lib/metanorma/ogc/ogc.rng
metanorma-ogc-2.3.12 lib/metanorma/ogc/ogc.rng
metanorma-ogc-2.3.11 lib/metanorma/ogc/ogc.rng
metanorma-ogc-2.3.10 lib/metanorma/ogc/ogc.rng
metanorma-ogc-2.3.9 lib/metanorma/ogc/ogc.rng