XML Schema Documentation

Table of Contents

top

Schema Document Properties

Target Namespace http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/09/19/
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/09/19/
Schema Component Representation
<schema targetNamespace="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/09/19/" elementFormDefault="qualified" version="1.1">
...
</schema>
top

Global Declarations

Element: MaritalStatusCode

Name MaritalStatusCode
Type cpr:MaritalStatusCodeType
Nillable no
Abstract no
Documentation Identifies the maritial status and whether the person is alive or dead.
Logical Diagram
XML Instance Representation
<cpr:MaritalStatusCode> cpr:MaritalStatusCodeType </cpr:MaritalStatusCode>
Diagram
Schema Component Representation
<element name="MaritalStatusCode" type=" cpr:MaritalStatusCodeType "/>
top

Global Definitions

Simple Type: MaritalStatusCodeType

Super-types: string < MaritalStatusCodeType (by restriction)
Sub-types: None
Name MaritalStatusCodeType
Content
  • Base XSD Type: string
  • value comes from list: {'married'|'divorced'|'widow'|'registered partnership'|'abolition of registrered partnership'|'longest living partner'|'deceased'|'unmarried'}
Diagram
Schema Component Representation
<simpleType name="MaritalStatusCodeType">
<restriction base=" string ">
<enumeration value="married"/>
<enumeration value="divorced"/>
<enumeration value="widow"/>
<enumeration value="registered partnership"/>
<enumeration value="abolition of registrered partnership"/>
<enumeration value="longest living partner"/>
<enumeration value="deceased"/>
<enumeration value="unmarried"/>
</restriction>
</simpleType>
top