Debian Codegraph @

examples/basics/2_xslt/gmlcities.xsd

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <xs:schema targetNamespace="http://ogr.maptools.org/" xmlns:ogr="http://ogr.maptools.org/"
3 xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml"
4 elementFormDefault="qualified" version="1.0">
5 <xs:import namespace="http://www.opengis.net/gml"
6 schemaLocation="http://schemas.opengis.net/gml/2.1.2/feature.xsd"/>
7 <xs:element name="FeatureCollection" type="ogr:FeatureCollectionType" substitutionGroup="gml:_FeatureCollection"/>
8 <xs:complexType name="FeatureCollectionType">
9 <xs:complexContent>
10 <xs:extension base="gml:AbstractFeatureCollectionType">
11 <xs:attribute name="lockId" type="xs:string" use="optional"/>
12 <xs:attribute name="scope" type="xs:string" use="optional"/>
13 </xs:extension>
14 </xs:complexContent>
15 </xs:complexType>
16 <xs:element name="City" type="ogr:City_Type" substitutionGroup="gml:_Feature"/>
17 <xs:complexType name="City_Type">
18 <xs:complexContent>
19 <xs:extension base="gml:AbstractFeatureType">
20 <xs:sequence>
21 <xs:element name="name" nillable="false" minOccurs="1" maxOccurs="1">
22 <xs:simpleType>
23 <xs:restriction base="xs:string">
24 <xs:maxLength value="42"/>
25 </xs:restriction>
26 </xs:simpleType>
27 </xs:element>
28 <xs:element name="geometry" type="gml:PointPropertyType" nillable="false" minOccurs="1" maxOccurs="1"/>
29 </xs:sequence>
30 </xs:extension>
31 </xs:complexContent>
32 </xs:complexType>
33 </xs:schema>