Sha256: a23b939f20e06013187424289f819f8cec6ea8023d71b4eeb57404a7f2c006b4

Contents?: true

Size: 1.42 KB

Versions: 12

Compression:

Stored size: 1.42 KB

Contents

<?xml version="1.0" encoding="UTF-8"?>
<grammar xmlns="http://relaxng.org/ns/structure/1.0">
  <!-- default namespace = "https://www.metanorma.com/ns/iec" -->
  <include href="isostandard.rng">
    <start>
      <ref name="iec-standard"/>
    </start>
    <define name="DocumentType">
      <choice>
        <value>international-standard</value>
        <value>technical-specification</value>
        <value>technical-report</value>
        <value>publicly-available-specification</value>
        <value>international-workshop-agreement</value>
        <value>guide</value>
      </choice>
    </define>
  </include>
  <!-- end overrides -->
  <!--
    We display the Normative References between scope and terms; but to keep the
    grammar simple, we keep the references together
  -->
  <define name="iec-standard">
    <element name="iec-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="boilerplate"/>
      </optional>
      <ref name="preface"/>
      <oneOrMore>
        <ref name="sections"/>
      </oneOrMore>
      <zeroOrMore>
        <ref name="annex"/>
      </zeroOrMore>
      <ref name="bibliography"/>
    </element>
  </define>
</grammar>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
relaton-iec-1.7.8 grammars/iec.rng
relaton-iec-1.7.7 grammars/iec.rng
relaton-iec-1.7.6 grammars/iec.rng
relaton-iec-1.7.5 grammars/iec.rng
relaton-iec-1.7.4 grammars/iec.rng
relaton-iec-1.7.3 grammars/iec.rng
relaton-iec-1.7.2 grammars/iec.rng
relaton-iec-1.7.1 grammars/iec.rng
relaton-iec-1.7.0 grammars/iec.rng
relaton-iec-1.6.0 grammars/iec.rng
relaton-iec-1.6.pre1 grammars/iec.rng
relaton-iec-1.5.0 grammars/iec.rng