Subversion Repositories eFlore/Applications.moissonnage

Rev

Rev 34 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
34 alex 1
<?php echo '<?xml version="1.0" encoding="UTF-8"?>'."\n"; ?>
2
<schema
3
	targetNamespace="http://mapserver.gis.umn.edu/mapserver"
4
	xmlns:ms="http://mapserver.gis.umn.edu/mapserver"
5
	xmlns:ogc="http://www.opengis.net/ogc"
6
	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
7
	xmlns="http://www.w3.org/2001/XMLSchema"
8
	xmlns:gml="http://www.opengis.net/gml"
9
	elementFormDefault="qualified" version="0.1" >
10
	<import namespace="http://www.opengis.net/gml" schemaLocation="http://schemas.opengis.net/gml/3.1.1/base/gml.xsd" />
11
<?php foreach ($listeSources as $source) { ?>
12
	<element name="<?=$source ?>" type="ms:<?=$source ?>Type" substitutionGroup="gml:_Feature" />
13
	<complexType name="<?=$source ?>Type">
14
		<complexContent>
15
			<extension base="gml:AbstractFeatureType">
16
				<sequence>
17
					<element name="coordonnees" type="gml:Point" />
18
					<element name="nomStation" type="string" />
19
					<element name="precision" type="string" />
20
					<element name="codeInsee" type="string" />
21
					<element name="departement" type="string" />
22
					<element name="taxons" type="string" />
43 alex 23
					<element name="auteurs" type="string" />
34 alex 24
				</sequence>
25
			</extension>
26
		</complexContent>
27
	</complexType>
28
<?php } ?>
29
</schema>