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

Name StreetCode
Type cpr:StreetCodeType
Nillable no
Abstract no
Documentation Declares a named street, road, square, path or the like in code. Streetcode in combination with municipalitycode constitutes an unique code for a road in Denmark.
Logical Diagram
XML Instance Representation
<cpr:StreetCode> cpr:StreetCodeType </cpr:StreetCode>
Diagram
Schema Component Representation
<element name="StreetCode" type=" cpr:StreetCodeType "/>
top

Global Definitions

Simple Type: StreetCodeType

Super-types: string < StreetCodeType (by restriction)
Sub-types: None
Name StreetCodeType
Content
  • Base XSD Type: string
  • pattern = [0-9]{4}
Diagram
Schema Component Representation
<simpleType name="StreetCodeType">
<restriction base=" string ">
<pattern value="[0-9]{4}"/>
</restriction>
</simpleType>
top