# 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: AuthorityCode
- Global Definitions
  - Simple Type: AuthorityCodeType

top

## Schema Document Properties

Target Namespace | http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/03/18/
Version | 1.1
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
cpr | http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/03/18/

Schema Component Representation
<schema targetNamespace="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/03/18/" elementFormDefault="qualified" version="1.1">
...
</schema>
top

## Global Declarations

### Element: AuthorityCode

Name | AuthorityCode
Type | cpr:AuthorityCodeType
Nillable | no
Abstract | no
Documentation | Code, which identifies an authority. Every AuthorityCode belongs to a specific authority (reference to data of authorities in CPR). The AuthorityCode is unique.

Logical Diagram
XML Instance Representation
<cpr:AuthorityCode> cpr:AuthorityCodeType </cpr:AuthorityCode>
Diagram
Schema Component Representation
<element name="AuthorityCode" type=" cpr:AuthorityCodeType "/>
top

## Global Definitions

### Simple Type: AuthorityCodeType

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

Name | AuthorityCodeType
Content | Base XSD Type: string pattern = [0-9]{4}

Diagram
Schema Component Representation
<simpleType name="AuthorityCodeType">
<restriction base=" string ">
<pattern value="[0-9]{4}"/>
</restriction>
</simpleType>
top