Model Notation

Contents

Related pages



UML

See UmlOutline.

XML Schema View

The documentation of components used in the pages on this site makes some use of XML Spy Tree View diagrams. These are automatically generated by the XML Spy IDE, and provide a good graphical view of the structure of models.

The graphical view uses a number of symbols to represent the content model. In order to explain this, consider this model for a Hexahedron (explained further in GeometryComponents):

Hexahedron.png

The diagram shows the following:

  • a "global" element, symbolised HexahedronElt.png and having no parent elements, with the name Hexahedron
  • the named content model, a complexType symbolised by the yellow box HexahedronTypeBox.png having the name HexahedronType and assigned to the namespace with the symbol xmml
  • the content model contains two sequences sequence.png of elements or groups. Two sequences are present because the first is inherited from a parent complexType, and the second added in the extension to create this complexType.
  • the first sequence contains just the model group sop.png, named StandardObjectProperties from the namespace with the symbol gml.
  • gml:StandardObjectProperties is composed of a sequence of between zero and many gml:metaDataProperty elements mdp.png, followed by an optional gml:description element description.png, followed by between zero and many gml:name elements.
  • the content of gml:metaDataProperty is not visible in this diagram, as it has been folded underneath the folded.png symbol
  • the second sequence contains one choice choice.png of elements or groups.
  • the choice is between exactly one element named exterior8Points e8p.png, and a sequence of exactly 8 posProperty groups pp8.png, both of which are assigned to the namespace with the symbol xmml.
  • the content of the xmml:exterior8Points element is an empty sequence empty.png
  • the content of the xmml:posProperty group is a choice of gml:pos or gml:pointProperty

Not visible on this tree diagram are
  • simpleType and complexType/simpleContent models, such as string, integer, double, ID, anyURI, etc
  • XML attributes, which are, however, not used very extensively in GML or XMML.

-- SimonCox - 20 Jan 2004 -- SimonCox - 15 Jan 2009
Topic revision: r11 - 15 Oct 2010, UnknownUser
 

Current license: All material on this collaboration platform is licensed under a Creative Commons Attribution 3.0 Australia Licence (CC BY 3.0).