<?xml version="1.0" encoding="UTF-8"?>
<grammar xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
  <start>
    <element name="gmd:MD_Metadata">
      <attribute name="xsi:schemaLocation">
        <value>http://www.isotc211.org/2005/gmd http://www.ngdc.noaa.gov/metadata/published/xsd/schema/gmd/gmd.xsd http://www.isotc211.org/2005/gmx http://www.ngdc.noaa.gov/metadata/published/xsd/schema/gmx/gmx.xsd</value>
      </attribute>
      <element name="gmd:contact">
        <attribute name="gco:nilReason">
          <value type="NCName">template</value>
        </attribute>
      </element>
      <element name="gmd:dateStamp">
        <element name="gco:DateTime">
          <value type="dateTime">2011-03-15T17:56:00</value>
        </element>
      </element>
      <element name="gmd:identificationInfo">
        <element name="gmd:MD_DataIdentification">
          <element name="gmd:citation">
            <attribute name="gco:nilReason">
              <value type="NCName">template</value>
            </attribute>
          </element>
          <element name="gmd:abstract">
            <attribute name="gco:nilReason">
              <value type="NCName">template</value>
            </attribute>
          </element>
          <oneOrMore>
            <element name="gmd:descriptiveKeywords">
              <element name="gmd:MD_Keywords">
                <attribute name="id">
                  <data type="NCName">
                    <param name="pattern">(WMOCD|WMOMV|GCMD)-FM\d\d</param>
                  </data>
                </attribute>
                <oneOrMore>
                  <element name="gmd:keyword">
                    <ref name="CharacterString"/>
                  </element>
                </oneOrMore>
                <element name="gmd:type">
                  <element name="gmd:MD_KeywordTypeCode">
                    <attribute name="codeList">
                      <value type="anyURI">http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/gmxCodelists.xml#MD_KeywordTypeCode</value>
                    </attribute>
                    <attribute name="codeListValue">
                      <value type="NCName">theme</value>
                    </attribute>
                    <value type="NCName">theme</value>
                  </element>
                </element>
                <element name="gmd:thesaurusName">
                  <attribute name="xlink:actuate">
                    <value type="NCName">onRequest</value>
                  </attribute>
                  <attribute name="xlink:href">
                    <data type="anyURI">
                      <param name="pattern">../thesauri.xml#(WMOCodelist|WMONo182|GCMD)</param>
                    </data>
                  </attribute>
                  <attribute name="xlink:show">
                    <value type="NCName">embed</value>
                  </attribute>
                  <attribute name="xlink:title">
                    <data type="token">
                      <param name="pattern">(WMO_CodeList dictionary|Modified WMO No\. 182, International Meteorological Vocabulary|Global Change Master Directory \(GCMD\) Scientific Keywords, Version 6.0.0.0.0)</param>
                    </data>
                  </attribute>
                </element>
              </element>
            </element>
          </oneOrMore>
          <element name="gmd:language">
            <attribute name="gco:nilReason">
              <value type="NCName">template</value>
            </attribute>
          </element>
        </element>
      </element>
      <element name="gmd:metadataConstraints">
        <element name="gmd:MD_Constraints">
          <element name="gmd:useLimitation">
            <ref name="CharacterString"/>
          </element>
        </element>
      </element>
    </element>
  </start>
  <define name="CharacterString">
    <element name="gco:CharacterString">
      <text/>
    </element>
  </define>
</grammar>
