Subversion Repositories eFlore/Applications.moissonnage

Rev

Rev 34 | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed

<?php echo '<?xml version="1.0" encoding="UTF-8"?>'."\n"; ?>
<schema
        targetNamespace="http://mapserver.gis.umn.edu/mapserver" 
        xmlns:ms="http://mapserver.gis.umn.edu/mapserver" 
        xmlns:ogc="http://www.opengis.net/ogc"
        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
        xmlns="http://www.w3.org/2001/XMLSchema"
        xmlns:gml="http://www.opengis.net/gml"
        elementFormDefault="qualified" version="0.1" >
        <import namespace="http://www.opengis.net/gml" schemaLocation="http://schemas.opengis.net/gml/3.1.1/base/gml.xsd" />
<?php foreach ($listeSources as $source) { ?>
        <element name="<?=$source ?>" type="ms:<?=$source ?>Type" substitutionGroup="gml:_Feature" />
        <complexType name="<?=$source ?>Type">
                <complexContent>
                        <extension base="gml:AbstractFeatureType">
                                <sequence>
                                        <element name="coordonnees" type="gml:Point" />
                                        <element name="nomStation" type="string" />
                                        <element name="precision" type="string" />
                                        <element name="codeInsee" type="string" />
                                        <element name="departement" type="string" />
                                        <element name="taxons" type="string" />
                                        <element name="auteurs" type="string" />
                                </sequence>
                        </extension>
                </complexContent>
        </complexType>
<?php } ?>
</schema>