# 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: Matrikelnummer
- Global Definitions
  - Simple Type: MatrikelnummerType

top

## Schema Document Properties

Target Namespace | http://rep.oio.dk/tinglysning.dk/schema/model/1/
Version | @BUILD_VERSION@
Language | DA
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
model | http://rep.oio.dk/tinglysning.dk/schema/model/1/

Schema Component Representation
<schema xml:lang="DA" targetNamespace="http://rep.oio.dk/tinglysning.dk/schema/model/1/" elementFormDefault="qualified" version="@BUILD_VERSION@">
...
</schema>
top

## Global Declarations

### Element: Matrikelnummer

Name | Matrikelnummer
Type | model:MatrikelnummerType
Nillable | no
Abstract | no
Documentation | Entydig identifikation af en flade/parcel (matrikel) inden for et ejerlav. Ikke entydig på landsplan uden LandsejerlavsKoden. Matrikelnummer består af 4 tal og 0-3 lower case bogstaver. Der tillades ikke blanke tegn. Matrikelnummer er relateret til LandParcelIdentifier fra Kort og Matrikelstyrelsen. Forskellen er at der i e-TL's matrikelnummer altid er 4 cifre. Det betyder, at der er foranstillede nuller.

Logical Diagram
XML Instance Representation
<model:Matrikelnummer> model:MatrikelnummerType </model:Matrikelnummer>
Diagram
Schema Component Representation
<element name="Matrikelnummer" type=" model:MatrikelnummerType "/>
top

## Global Definitions

### Simple Type: MatrikelnummerType

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

Name | MatrikelnummerType
Content | Base XSD Type: string pattern = \d{4}[a-ik-zæøå]{0,3} length >= 4

Diagram
Schema Component Representation
<simpleType name="MatrikelnummerType">
<restriction base=" string ">
<minLength value="4"/>
<maxLength value="7"/>
<pattern value="\d{4}[a-ik-zæøå]{0,3}"/>
</restriction>
</simpleType>
top