[tdwg-tapir] Schema modification: r447 - trunk/protocol/examples

tdwg-tapir at lists.tdwg.org tdwg-tapir at lists.tdwg.org
Fri Feb 17 16:51:29 CET 2006


Author: javier
Date: 2006-02-17 16:51:28 +0100 (Fri, 17 Feb 2006)
New Revision: 447

Added:
   trunk/protocol/examples/wfs_gcp_output.xml
Log:
small change

Added: trunk/protocol/examples/wfs_gcp_output.xml
===================================================================
--- trunk/protocol/examples/wfs_gcp_output.xml	2006-02-17 15:05:08 UTC (rev 446)
+++ trunk/protocol/examples/wfs_gcp_output.xml	2006-02-17 15:51:28 UTC (rev 447)
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<outputModel xmlns="http://www.tdwg.org/schemas/tapir/datasource/1.0"
+    xmlns:xs="http://www.w3.org/2001/XMLSchema"
+     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+     xsi:schemaLocation="
+    		http://www.tdwg.org/schemas/tapir/datasource/1.0    http://ww2.biocase.org/svn/tapir/trunk/protocol/tapir.xsd
+            http://www.w3.org/2001/XMLSchema 	http://www.w3.org/2001/XMLSchema.xsd
+     ">
+    <structure>
+        <!-- NameSpaces: 
+            xmlns:wfs="http://www.opengis.net/wfs" 
+            xmlns:gcp="http://www.ipgri.org/schemas/gcp_passport_gml/1.0" 
+            xmlns:gml="http://www.opengis.net/gml" 
+            -->
+        <xs:schema targetNamespace="http://www.ipgri.org/schemas/gcp_passport_gml/1.0">
+            <!-- wfs -->
+            <xs:element name="FeatureCollection">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element maxOccurs="unbounded" name="featureMember">
+                            <xs:complexType>
+                                <xs:sequence>
+                                    <xs:element name="accession">
+                                        <xs:complexType>
+                                            <xs:sequence>
+                                                <xs:element name="GermplasmID" type="xs:string" />
+                                                <xs:element name="FAOInstituteCode" type="xs:string" />
+                                                <xs:element name="CollectionName" type="xs:string" />
+                                                <xs:element name="FullScientificName" type="xs:string" />
+                                                <xs:element name="Genus" type="xs:string" />
+                                                <xs:element name="Species" type="xs:string" />
+                                                <xs:element name="CollectingPlace" type="xs:string" />
+                                                <xs:element name="CountryCode" type="xs:string" />
+                                                <xs:element name="LocationGML">
+                                                    <xs:complexType>
+                                                        <xs:sequence>
+                                                            <xs:element name="Point">
+                                                                <xs:complexType>
+                                                                    <xs:sequence>
+                                                                        <xs:element name="coordinates">
+                                                                            <xs:complexType>
+                                                                                <xs:simpleContent>
+                                                                                    <xs:extension base="xs:string">
+                                                                                        <xs:attribute name="decimal" type="xs:string" use="required" />
+                                                                                        <xs:attribute name="cs" type="xs:string" use="required" />
+                                                                                        <xs:attribute name="ts" type="xs:string" use="required" />
+                                                                                    </xs:extension>
+                                                                                </xs:simpleContent>
+                                                                            </xs:complexType>
+                                                                        </xs:element>
+                                                                    </xs:sequence>
+                                                                    <xs:attribute name="srsName" type="xs:string" use="required" />
+                                                                </xs:complexType>
+                                                            </xs:element>
+                                                        </xs:sequence>
+                                                    </xs:complexType>
+                                                </xs:element>
+                                            </xs:sequence>
+                                            <xs:attribute name="fid" type="xs:string" use="required" />
+                                        </xs:complexType>
+                                    </xs:element>
+                                </xs:sequence>
+                            </xs:complexType>
+                        </xs:element>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+        </xs:schema>
+    </structure>
+    <indexingElement path="/FeatureCollection/featureMember"/>
+    <mapping>
+        <node path="/FeatureCollection/featureMember at fid">
+            <concept id="dwc:/CatalogNumber"/>
+        </node>
+        <node path="/FeatureCollection/featureMember/GermplasmID">
+            <concept id="dwc:/CatalogNumber"/>
+        </node>       
+        <node path="/FeatureCollection/featureMember/FullScientificName">
+            <concept id="dwc:/ScientificName"/>
+        </node>
+        <node path="/FeatureCollection/featureMember/Genus">
+            <concept id="dwc:/Genus"/>
+        </node>
+        <node path="/FeatureCollection/featureMember/LocationGML/Point at srsName">
+            <literal value="http://www.opengis.net/gml/srs/epsg.xml#4326"/>
+        </node>
+        <node path="/FeatureCollection/featureMember/LocationGML/Point/coordinates at decimal">
+            <literal value="."/>
+        </node>
+        <node path="/FeatureCollection/featureMember/LocationGML/Point/coordinates at cs">
+            <literal value=","/>
+        </node>
+        <node path="/FeatureCollection/featureMember/LocationGML/Point/coordinates at ts">
+            <literal value=" "/>
+        </node>
+        <node path="/FeatureCollection/featureMember/LocationGML/Point/coordinates">
+            <concept id="dwc:/Longitude"/>
+            <literal value=","/>
+            <concept id="dwc:/Latitude"/>
+        </node>
+    </mapping>
+</outputModel>
+





More information about the tdwg-tag mailing list