XML Examples AIXM 5 RC 2 Topics Overview

  • Slides: 18
Download presentation
XML Examples AIXM 5 RC 2

XML Examples AIXM 5 RC 2

Topics • Overview of XML Schema Definition Language (XSDL) – Schema components – AIXM

Topics • Overview of XML Schema Definition Language (XSDL) – Schema components – AIXM use of XSDL • Example from the AIXM 5 RC 2 xsd files – Vertical. Structure (a generalization on structures that includes obstacles) – Obstacle Areas

General Scheme UML Model XSD files XML files HTML view • AIXM is modelled

General Scheme UML Model XSD files XML files HTML view • AIXM is modelled using UML • Scripts within the UML model are used to generate XSD files. These files act as schema definitions for the AIXM data • The AIXM data is defined as XML files • Software (Java, XSLT, etc) is used to transform the XML data to HTML to be viewed by a browser

Sample AIXM Data: Runway

Sample AIXM Data: Runway

Sample AIXM Data: Runway Element

Sample AIXM Data: Runway Element

Sample AIXM Data: Runway Element

Sample AIXM Data: Runway Element

XML Schema Definition Language (XSDL) • Member of the XML family of standards •

XML Schema Definition Language (XSDL) • Member of the XML family of standards • XML schema is composed of pre-defined components: – Primary components: • • Element declarations Attribute declarations Simple type definitions Complex type definitions – Secondary components: • • Attribute group definitions Model group definitions Identity-constraint definitions Notation declarations – Dependent components: • • Model groups Annotations Attribute uses Particles and wildcards

AIXM use of XSDL • Datatype definitions: – define AIXM features to encompass detailed

AIXM use of XSDL • Datatype definitions: – define AIXM features to encompass detailed aeronautical domain information accurately. • Extension and restriction of datatypes: – define and reuse datatype definitions within the schema. • Element and attribute declarations: – define AIXM features. • Annotation and documentation: – to enable users to understand the contents of the AIXM XSD files. • Additional schema components: – to incorporate the use of the Geographical Mark-up Language (GML), and to make use of additional concepts available in XSDL.

Vertical. Structure includes Obstacles

Vertical. Structure includes Obstacles

Vertical. Structure element • Parent is <schema> – A Global element • Of type

Vertical. Structure element • Parent is <schema> – A Global element • Of type Vertical. Structure. Type • Inherits from the Abstract. AIXMFeature – Defined in XML as a substitution. Group

Abstract. AIXMFeature

Abstract. AIXMFeature

Vertical. Structure. Type and reference to the Time. Slice. Property. Type

Vertical. Structure. Type and reference to the Time. Slice. Property. Type

complex. Type definition for Vertical. Structure. Time. Slice. Type

complex. Type definition for Vertical. Structure. Time. Slice. Type

Obstacle. Area element

Obstacle. Area element

“Obstacle. Area” element definition • • The “Obstacle. Area” element is of datatype “Obstacle.

“Obstacle. Area” element definition • • The “Obstacle. Area” element is of datatype “Obstacle. Area. Type” is an XSD complex. Type with complex. Content – It extends a primitive datatype that is also complex. Type – It makes reference to “time. Slice” • “time. Slice” references a Time. Slice. Property. Type that references a Time. Slice definition • • The “Obstacle. Area. Time. Slice” element is of datatype “Obstacle. Area. Time. Slice. Type” The datatype declaration makes reference to the element group “Obstacle. Area. Property. Group”

“Obstacle. Area. Property. Group” group of element definitions • The “Obstacle. Area. Pro perty.

“Obstacle. Area. Property. Group” group of element definitions • The “Obstacle. Area. Pro perty. Group” group of element definitions containes three elements • It also includes three elements that define relationships to other AIXM features

<choice> section of the “Obstacle. Area. Property. Group” group • The three possible choices

<choice> section of the “Obstacle. Area. Property. Group” group • The three possible choices are defined as XSDL elements • These elements are associations in the UML model

UML for Obstacle. Area

UML for Obstacle. Area