XML Schema Documentation

Table of Contents

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: PersonCivilRegistrationIdentifier

Name PersonCivilRegistrationIdentifier
Type cpr:PersonCivilRegistrationIdentifierType
Nillable no
Abstract no
Documentation CivilRegistrationNumber (CPR)
Logical Diagram
XML Instance Representation
<cpr:PersonCivilRegistrationIdentifier> cpr:PersonCivilRegistrationIdentifierType </cpr:PersonCivilRegistrationIdentifier>
Diagram
Schema Component Representation
<element name="PersonCivilRegistrationIdentifier" type=" cpr:PersonCivilRegistrationIdentifierType "/>
top

Global Definitions

Simple Type: PersonCivilRegistrationIdentifierType

Super-types: string < PersonCivilRegistrationIdentifierType (by restriction)
Sub-types: None
Name PersonCivilRegistrationIdentifierType
Content
  • Base XSD Type: string
  • pattern = ((((0[1-9]|1[0-9]|2[0-9]|3[0-1])(01|03|05|07|08|10|12))|((0[1-9]|1[0-9]|2[0-9]|30)(04|06|09|11))|((0[1-9]|1[0-9]|2[0-9])(02)))[0-9]{6})|0000000000
Diagram
Schema Component Representation
<simpleType name="PersonCivilRegistrationIdentifierType">
<restriction base=" string ">
<pattern value="((((0[1-9]|1[0-9]|2[0-9]|3[0-1])(01|03|05|07|08|10|12))|((0[1-9]|1[0-9]|2[0-9]|30)(04|06|09|11))|((0[1-9]|1[0-9]|2[0-9])(02)))[0-9]{6})|0000000000"/>
</restriction>
</simpleType>
top