1 / 14

XML Examples

XML Examples. AIXM 5 RC2. Topics. Overview of XML Schema Definition Language (XSDL) Schema components AIXM use of XSDL Example from the AIXM 5 RC2 xsd files VerticalStructure (a generalization on structures that includes obstacles) Obstacle Areas. XML Schema Definition Language (XSDL).

brinly
Télécharger la présentation

XML Examples

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. XML Examples AIXM 5 RC2

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

  3. 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

  4. 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.

  5. VerticalStructure includes Obstacles

  6. VerticalStructure element • Parent is <schema> • A Global element • Of type VerticalStructureType • Inherits from the AbstractAIXMFeature • Defined in XML as a substitutionGroup

  7. AbstractAIXMFeature

  8. VerticalStructureType and reference to the TimeSlicePropertyType

  9. complexType definition for VerticalStructureTimeSliceType

  10. ObstacleArea element

  11. “ObstacleArea” element definition • The “ObstacleArea” element is of datatype “ObstacleAreaType” • “ObstacleAreaType” is an XSD complexType with complexContent • It extends a primitive datatype that is also complexType • It makes reference to “timeSlice” • “timeSlice” references a TimeSlicePropertyType that references a TimeSlice definition • The “ObstacleAreaTimeSlice” element is of datatype “ObstacleAreaTimeSliceType” • The datatype declaration makes reference to the element group “ObstacleAreaPropertyGroup”

  12. “ObstacleAreaPropertyGroup” group of element definitions • The “ObstacleAreaPropertyGroup” group of element definitions containes three elements • It also includes three elements that define relationships to other AIXM features

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

  14. UML for ObstacleArea

More Related