Sha256: 2abbe7c97bf7fa5825273607fd9373aae2458a90a0fb89b18f832066b321b531

Contents?: true

Size: 1.75 KB

Versions: 12

Compression:

Stored size: 1.75 KB

Contents

<?xml version="1.0" encoding="UTF-8"?>
<grammar ns="https://www.metanorma.org/ns/ieee" xmlns="http://relaxng.org/ns/structure/1.0">
  <!--
    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-ieee.rng"/>
  <include href="isodoc.rng">
    <start>
      <ref name="ieee-standard"/>
    </start>
    <define name="sections">
      <element name="sections">
        <optional>
          <ref name="note"/>
        </optional>
        <oneOrMore>
          <choice>
            <ref name="clause"/>
            <ref name="terms"/>
            <ref name="term-clause"/>
            <ref name="definitions"/>
            <ref name="floating-title"/>
          </choice>
        </oneOrMore>
      </element>
    </define>
  </include>
  <define name="ieee-standard">
    <element name="ieee-standard">
      <attribute name="version"/>
      <attribute name="type">
        <choice>
          <value>semantic</value>
          <value>presentation</value>
        </choice>
      </attribute>
      <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

12 entries across 12 versions & 1 rubygems

Version Path
metanorma-ieee-1.0.9 lib/metanorma/ieee/ieee.rng
metanorma-ieee-1.0.8 lib/metanorma/ieee/ieee.rng
metanorma-ieee-1.0.7 lib/metanorma/ieee/ieee.rng
metanorma-ieee-1.0.6 lib/metanorma/ieee/ieee.rng
metanorma-ieee-1.0.5 lib/metanorma/ieee/ieee.rng
metanorma-ieee-1.0.4 lib/metanorma/ieee/ieee.rng
metanorma-ieee-1.0.3 lib/metanorma/ieee/ieee.rng
metanorma-ieee-1.0.2 lib/metanorma/ieee/ieee.rng
metanorma-ieee-1.0.1 lib/metanorma/ieee/ieee.rng
metanorma-ieee-1.0.0 lib/metanorma/ieee/ieee.rng
metanorma-ieee-0.1.3 lib/metanorma/ieee/ieee.rng
metanorma-ieee-0.1.2 lib/metanorma/ieee/ieee.rng