# XML Schema Documentation

Printer-friendly Version
Logical Diagram:
[ Expand All | Collapse All ]
XML Instance Representation:
[ Expand All | Collapse All ]
Diagram:
[ Expand All | Collapse All ]
Schema Component Representation:
[ Expand All | Collapse All ]

## Table of Contents

- Schema Document Properties
- Global Declarations
  - Element: CountryIdentificationCode
- Global Definitions
  - Complex Type: CountryIdentificationCodeType
  - Simple Type: _CountryIdentificationCodeType
  - Simple Type: _CountryIdentificationSchemeType

top

## Schema Document Properties

Target Namespace | http://rep.oio.dk/ebxml/xml/schemas/dkcc/2003/02/13/
Element and Attribute Namespaces | Global element and attribute declarations belong to this schema's target namespace. By default, local element declarations belong to this schema's target namespace. By default, local attribute declarations have no namespace.

### Declared Namespaces

Prefix | Namespace
--- | ---
Default namespace | http://www.w3.org/2001/XMLSchema
xml | http://www.w3.org/XML/1998/namespace
dkcc | http://rep.oio.dk/ebxml/xml/schemas/dkcc/2003/02/13/

Schema Component Representation
<schema targetNamespace="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2003/02/13/" elementFormDefault="qualified">
...
</schema>
top

## Global Declarations

### Element: CountryIdentificationCode

Name | CountryIdentificationCode
Type | dkcc:CountryIdentificationCodeType
Nillable | no
Abstract | no

Logical Diagram
XML Instance Representation
<dkcc:CountryIdentificationCode
scheme=" dkcc:_CountryIdentificationSchemeType [1]">
dkcc:_CountryIdentificationCodeType
</dkcc:CountryIdentificationCode>
Diagram
Schema Component Representation
<element name="CountryIdentificationCode" type=" dkcc:CountryIdentificationCodeType "/>
top

## Global Definitions

### Complex Type: CountryIdentificationCodeType

Super-types: | string < _CountryIdentificationCodeType (by restriction) < CountryIdentificationCodeType (by extension)
Sub-types: | None

Name | CountryIdentificationCodeType
Abstract | no
Documentation | The country code based on the 4 diffent schemes. Landeidentifikations kode baseret på de 4 forskellige formater.

XML Instance Representation
<...
scheme=" dkcc:_CountryIdentificationSchemeType [1]">
dkcc:_CountryIdentificationCodeType
</...>
Diagram
Schema Component Representation
<complexType name="CountryIdentificationCodeType">
<simpleContent>
<extension base=" dkcc:_CountryIdentificationCodeType ">
<attribute name="scheme" type=" dkcc:_CountryIdentificationSchemeType " use="required"/>
</extension>
</simpleContent>
</complexType>
top

### Simple Type: _CountryIdentificationCodeType

Super-types: | string < _CountryIdentificationCodeType (by restriction)
Sub-types: | CountryIdentificationCodeType (by extension)

Name | _CountryIdentificationCodeType
Content | Base XSD Type: string pattern = [a-z,A-Z]{2}|[a-z,A-Z]{3}|[0-9]{3}|[0-9]{4}
Documentation | This is a support type for CountryIdentificationCodeType. The pattern is a choice of 4 different patterns for different schems. ISO 3166 standard, alpha 2: [a-z,A-Z]{2}. Eksample "DK" for Danmark. ISO 3166 standard, alpha 3: [a-z,A-Z]{3}. Eksample "DKN" for Danmark. UN Statistics Divisions country codes: [0-9]{3}. Eksample "208" for Danmark AuthorityCode from the Central Office of Civil Registration: [0-9]{4}. Eksample "5100" for Danmark. Dette er en støttetype til CountryIdentificationCodeType. Det regulære udtryk er et valg for de 4 forskellige regulære udtryk for de forskellige formater. ISO 3166 standard, alpha 2: [a-z,A-Z]{2}. Eksempel "DK" for Danmark. ISO 3166 standard, alpha 3: [a-z,A-Z]{3}. Eksempel "DKN" for Danmark. UN Statistics Divisions country codes: [0-9]{3}. Eksempel "208" for Danmark AuthorityCode from the Central Office of Civil Registration: [0-9]{4}. Eksempel "5100" for Danmark.

Diagram
Schema Component Representation
<simpleType name="_CountryIdentificationCodeType">
<restriction base=" string ">
<pattern value="[a-z,A-Z]{2}|[a-z,A-Z]{3}|[0-9]{3}|[0-9]{4}"/>
</restriction>
</simpleType>
top

### Simple Type: _CountryIdentificationSchemeType

Super-types: | string < _CountryIdentificationSchemeType (by restriction)
Sub-types: | None

Name | _CountryIdentificationSchemeType
Content | Base XSD Type: string value comes from list: {'iso3166-alpha2'|'iso3166-alpha3'|'un-numeric3'|'imk'}
Documentation | This is a support type for CountryIdentificationCodeType. Dette er en støttetype til CountryIdentificationCodeType.

Diagram
Schema Component Representation
<simpleType name="_CountryIdentificationSchemeType">
<restriction base=" string ">
<enumeration value="iso3166-alpha2"/>
<enumeration value="iso3166-alpha3"/>
<enumeration value="un-numeric3"/>
<enumeration value="imk"/>
</restriction>
</simpleType>
top