Showing:

Annotations
Attributes
Diagrams
Facets
Properties
Source
Used by
Complex Type src:LanguageType
Namespace urn:us:gov:ic:src
Annotations

A language in which a publication, or part of a publication, is written. The content must be a valid language code from ISO 639, optionally appended with a country code digraph from ISO 3166.

Diagram
Diagram SRC-XML_xsd_Complex_Type_src_LanguageType.tmp#LanguageType_encoding SRC-XML_xsd_Complex_Type_src_LanguageType.tmp#LanguageType_otherVocabulary
Type extension of xsd:string
Used by
Element src:Language
Attributes
QName Type Use Annotation
src:encoding src:LanguageEncodingTypes required

The standard format reference for language codes.

src:otherVocabulary xsd:string optional

A controlled vocabulary of Language codes other than those vocabularies specified in the name token list for attribute "encoding" of element "Language". This attribute is optional. However, it must be used when the value of attribute "encoding" is "other".

Source
<xsd:complexType name="LanguageType">
  <xsd:annotation>
    <xsd:documentation xml:lang="en">
      <p xmlns="http://www.w3.org/1999/xhtml" ism:ownerProducer="USA" ism:classification="U">A language in which a publication, or part of a publication, is written. The content must be a valid language code from ISO 639, optionally appended with a country code digraph from ISO 3166.</p>
    </xsd:documentation>
  </xsd:annotation>
  <xsd:simpleContent>
    <xsd:extension base="xsd:string">
      <xsd:attribute name="encoding" type="src:LanguageEncodingTypes" use="required">
        <xsd:annotation>
          <xsd:documentation xml:lang="en">
            <p xmlns="http://www.w3.org/1999/xhtml" ism:ownerProducer="USA" ism:classification="U">The standard format reference for language codes.</p>
          </xsd:documentation>
        </xsd:annotation>
      </xsd:attribute>
      <xsd:attribute name="otherVocabulary" type="xsd:string" use="optional">
        <xsd:annotation>
          <xsd:documentation xml:lang="en">
            <p xmlns="http://www.w3.org/1999/xhtml" ism:ownerProducer="USA" ism:classification="U">A controlled vocabulary of Language codes other than those vocabularies specified in the name token list for attribute "encoding" of element "Language". This attribute is optional. However, it must be used when the value of attribute "encoding" is "other".</p>
          </xsd:documentation>
        </xsd:annotation>
      </xsd:attribute>
    </xsd:extension>
  </xsd:simpleContent>
</xsd:complexType>
Schema location SRC-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 src:LanguageType / @src:encoding
Namespace urn:us:gov:ic:src
Annotations

The standard format reference for language codes.

Type src:LanguageEncodingTypes
Properties
use required
Facets
enumeration RFC1766
enumeration RFC3066
enumeration RFC4646
enumeration ISO639-1
enumeration ISO639-2
enumeration ISO639-3
enumeration other
Used by
Complex Type src:LanguageType
Source
<xsd:attribute name="encoding" type="src:LanguageEncodingTypes" use="required">
  <xsd:annotation>
    <xsd:documentation xml:lang="en">
      <p xmlns="http://www.w3.org/1999/xhtml" ism:ownerProducer="USA" ism:classification="U">The standard format reference for language codes.</p>
    </xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Schema location SRC-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 src:LanguageType / @src:otherVocabulary
Namespace urn:us:gov:ic:src
Annotations

A controlled vocabulary of Language codes other than those vocabularies specified in the name token list for attribute "encoding" of element "Language". This attribute is optional. However, it must be used when the value of attribute "encoding" is "other".

Type xsd:string
Properties
use optional
Used by
Complex Type src:LanguageType
Source
<xsd:attribute name="otherVocabulary" type="xsd:string" use="optional">
  <xsd:annotation>
    <xsd:documentation xml:lang="en">
      <p xmlns="http://www.w3.org/1999/xhtml" ism:ownerProducer="USA" ism:classification="U">A controlled vocabulary of Language codes other than those vocabularies specified in the name token list for attribute "encoding" of element "Language". This attribute is optional. However, it must be used when the value of attribute "encoding" is "other".</p>
    </xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Schema location SRC-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