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
The diagram shows the following:
- a "global" element, symbolised and having no parent elements, with the name Hexahedron
- the named content model, a complexType symbolised by the yellow box having the name HexahedronType and assigned to the namespace with the symbol xmml
- the content model contains two sequences 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 , named StandardObjectProperties from the namespace with the symbol gml.
- gml:StandardObjectProperties is composed of a sequence of between zero and many gml:metaDataProperty elements , followed by an optional gml:description element , 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 symbol
- the second sequence contains one choice of elements or groups.
- the choice is between exactly one element named exterior8Points , and a sequence of exactly 8 posProperty groups , both of which are assigned to the namespace with the symbol xmml.
- the content of the xmml:exterior8Points element is an empty sequence
- the content of the xmml:posProperty group is a choice of gml:pos or gml:pointProperty
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.
- 20 Jan 2004
- 15 Jan 2009