root / trunk / libraries / libGPE / testdata / basicTypes.xsd @ 12175
History | View | Annotate | Download (2.04 KB)
1 |
<?xml version="1.0" encoding="UTF-8"?> |
---|---|
2 |
<xs:schema xmlns:er=" http://www.euroroads.org" xmlns:xs="http://www.w3.org/2001/XMLSchema" |
3 |
xmlns:gml="http://www.opengis.net/gml" targetNamespace=" http://www.euroroads.org" |
4 |
elementFormDefault="qualified" attributeFormDefault="unqualified"> |
5 |
<xs:import namespace="http://www.opengis.net/gml" schemaLocation="base\gml.xsd"/> |
6 |
<xs:include schemaLocation="AttributeBase.xsd"/> |
7 |
<xs:annotation> |
8 |
<xs:documentation>GML schema definition for the EuroRoadS BasicTypes package, version |
9 |
1.0</xs:documentation> |
10 |
</xs:annotation> |
11 |
<!--=======================================================================--> |
12 |
<xs:complexType name="ObjectIdType"> |
13 |
<xs:annotation> |
14 |
<xs:documentation>GML definition of the EuroRoadS class ER_ObjectId</xs:documentation> |
15 |
</xs:annotation> |
16 |
<xs:sequence> |
17 |
<xs:element name="permanentId" type="xs:string"/> |
18 |
<xs:element name="versionId" type="xs:string" minOccurs="0"/> |
19 |
<xs:element name="alternateId" type="xs:string" minOccurs="0"/> |
20 |
</xs:sequence> |
21 |
</xs:complexType> |
22 |
<!--=======================================================================--> |
23 |
<xs:complexType name="RoadFeatureType" abstract="true"> |
24 |
<xs:annotation> |
25 |
<xs:documentation>GML definition of the EuroRoadS class ER_RoadFeature</xs:documentation> |
26 |
</xs:annotation> |
27 |
<xs:complexContent> |
28 |
<xs:extension base="gml:AbstractFeatureType"> |
29 |
<xs:sequence> |
30 |
<xs:element name="id" type="er:ObjectIdType"/> |
31 |
</xs:sequence> |
32 |
</xs:extension> |
33 |
</xs:complexContent> |
34 |
</xs:complexType> |
35 |
<xs:complexType name="RoadFeaturePropertyType"> |
36 |
<xs:annotation> |
37 |
<xs:documentation>GML property type definition for RoadFeatureType</xs:documentation> |
38 |
</xs:annotation> |
39 |
<xs:sequence> |
40 |
<xs:element ref="er:RoadFeature" minOccurs="0"/> |
41 |
</xs:sequence> |
42 |
<xs:attributeGroup ref="gml:AssociationAttributeGroup"/> |
43 |
</xs:complexType> |
44 |
<xs:element name="RoadFeature" abstract="true" substitutionGroup="gml:_Feature"> |
45 |
<xs:annotation> |
46 |
<xs:documentation>Root of the ER_RoadFeature substitution group</xs:documentation> |
47 |
</xs:annotation> |
48 |
</xs:element> |
49 |
<!--=======================================================================--> |
50 |
</xs:schema> |