| ### Showing:
Annotations
Attributes
Diagrams
Facets
Properties
Source
Used by

Element pubs:CountryCode

Namespace | urn:us:gov:ic:pubs
Annotations | A 3-character abbreviation of a country name, taken from GENC. Use attribute "precedence" to denote that the code applies to a country discussed in the publication, but not the primary subject. PERMISSIBLE VALUES The permissible values for this type are defined in the following Controlled Vocabulary Enumerations: CVEnumPubsCountryISO3166Trigraph.xml
Diagram |
Type | extension of xsd:string
Properties |
content | complex
Used by |
Element Group | pubs:PostalAddressGroup
Attributes |
QName | Type | Use | Annotation
--- | --- | --- | ---
IDReference | xsd:IDREFS | optional | A cross-reference to a unique identifier used to point from one element to one or more other elements. The value of the attribute must be one or more XML unique identifiers that are the value(s) of id attribute(s) elsewhere in the document.
id | xsd:ID | optional | A unique XML identifier used to assign an XML unique identifier to an element, such as a paragraph, note or table.
precedence | restriction of xsd:NMTOKEN | optional | Priority claimed or received as a result of preeminence. When used on the element CountryCode, this attribute is used to distinguish the primary focus when an intelligence product covers two or more countries. Permissible values are Primary, Secondary. When used on element DistributionEntry, this attribute is a free-text string to record information about the relative priority for delivery or handling when communicating with the entity referenced.
pubs:order | xsd:int | optional | An integer used to order countries by how much a publication discusses them.
qualifier | xsd:string | optional | A user-defined property within an element for general purpose processing used with block objects to provide supplemental information over and above that conveyed by the element name. This attribute is analogous to HTML's "class" attribute.
styleType | xsd:string | optional | A user-defined property within an element for representing the formatting/style to be applied.
vocabulary | pubs:CountryCodeVocabularyType | required | Which value enumeration set this element should be validated against.
Wildcard: ANY attribute from ANY namespace OTHER than 'urn:us:gov:ic:pubs'
Source |
    <xsd:element name="CountryCode">
      <xsd:annotation>
        <xsd:documentation xml:lang="en">
          <p xmlns="http://www.w3.org/1999/xhtml" ism:ownerProducer="USA" ism:classification="U">A 3-character abbreviation of a country name, taken from GENC. Use attribute "precedence" to denote that the code applies to a country discussed in the publication, but not the primary subject. PERMISSIBLE VALUES The permissible values for this type are defined in the following Controlled Vocabulary Enumerations: CVEnumPubsCountryISO3166Trigraph.xml</p>
        </xsd:documentation>
      </xsd:annotation>
      <xsd:complexType>
        <xsd:simpleContent>
          <xsd:extension base="xsd:string">
            <xsd:attribute name="vocabulary" type="pubs:CountryCodeVocabularyType" use="required">
              <xsd:annotation>
                <xsd:documentation xml:lang="en">
                  <p xmlns="http://www.w3.org/1999/xhtml" ism:ownerProducer="USA" ism:classification="U">Which value enumeration set this element should be validated against.</p>
                </xsd:documentation>
              </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="precedence" use="optional">
              <xsd:annotation>
                <xsd:documentation xml:lang="en">
                  <p xmlns="http://www.w3.org/1999/xhtml" ism:ownerProducer="USA" ism:classification="U">Priority claimed or received as a result of preeminence. When used on the element CountryCode, this attribute is used to distinguish the primary focus when an intelligence product covers two or more countries. Permissible values are Primary, Secondary. When used on element DistributionEntry, this attribute is a free-text string to record information about the relative priority for delivery or handling when communicating with the entity referenced.</p>
                </xsd:documentation>
              </xsd:annotation>
              <xsd:simpleType>
                <xsd:restriction base="xsd:NMTOKEN">
                  <xsd:enumeration value="Primary"/>
                  <xsd:enumeration value="Secondary"/>
                </xsd:restriction>
              </xsd:simpleType>
            </xsd:attribute>
            <xsd:attributeGroup ref="pubs:CommonAttributesGroup"/>
            <xsd:attributeGroup ref="pubs:OrderAttributeGroup"/>
          </xsd:extension>
        </xsd:simpleContent>
      </xsd:complexType>
    </xsd:element>
Schema location | PUBS-XML.xsd Copy and paste this link to your file browser, clicking the link MAY open in the browser. Opening in an XML aware editor is best.

Attribute pubs:CountryCode / @vocabulary

Namespace | No namespace
Annotations | Which value enumeration set this element should be validated against.
Type | pubs:CountryCodeVocabularyType
Properties |
use | required
Facets |
enumeration | ISO-3 |
Used by |
Element | pubs:CountryCode
Source |
    <xsd:attribute name="vocabulary" type="pubs:CountryCodeVocabularyType" use="required">
      <xsd:annotation>
        <xsd:documentation xml:lang="en">
          <p xmlns="http://www.w3.org/1999/xhtml" ism:ownerProducer="USA" ism:classification="U">Which value enumeration set this element should be validated against.</p>
        </xsd:documentation>
      </xsd:annotation>
    </xsd:attribute>
Schema location | PUBS-XML.xsd Copy and paste this link to your file browser, clicking the link MAY open in the browser. Opening in an XML aware editor is best.

Attribute pubs:CountryCode / @precedence

Namespace | No namespace
Annotations | Priority claimed or received as a result of preeminence. When used on the element CountryCode, this attribute is used to distinguish the primary focus when an intelligence product covers two or more countries. Permissible values are Primary, Secondary. When used on element DistributionEntry, this attribute is a free-text string to record information about the relative priority for delivery or handling when communicating with the entity referenced.
Type | restriction of xsd:NMTOKEN
Properties |
use | optional
Facets |
enumeration | Primary |
enumeration | Secondary |
Used by |
Element | pubs:CountryCode
Source |
    <xsd:attribute name="precedence" use="optional">
      <xsd:annotation>
        <xsd:documentation xml:lang="en">
          <p xmlns="http://www.w3.org/1999/xhtml" ism:ownerProducer="USA" ism:classification="U">Priority claimed or received as a result of preeminence. When used on the element CountryCode, this attribute is used to distinguish the primary focus when an intelligence product covers two or more countries. Permissible values are Primary, Secondary. When used on element DistributionEntry, this attribute is a free-text string to record information about the relative priority for delivery or handling when communicating with the entity referenced.</p>
        </xsd:documentation>
      </xsd:annotation>
      <xsd:simpleType>
        <xsd:restriction base="xsd:NMTOKEN">
          <xsd:enumeration value="Primary"/>
          <xsd:enumeration value="Secondary"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:attribute>
Schema location | PUBS-XML.xsd Copy and paste this link to your file browser, clicking the link MAY open in the browser. Opening in an XML aware editor is best.

## This document has been approved for Public Release by the Office of the Director of National Intelligence. See Distribution Notice for details. Click Here