Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI01-discovery/trunk/schema/gemini/geminiSchema.xsd@1655
Revision 1655,
1.2 KB
checked in by lawrence, 14 years ago
(diff) |
Gemini schema and example documents
|
Line | |
---|
1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
2 | <!-- Gemini schema --> |
---|
3 | <!-- Version 1.0.g 2005-10- --> |
---|
4 | <!-- Author: Robert Turner AGI, & Snowflake Software --> |
---|
5 | <xs:schema xmlns:gmd="http://www.isotc211.org/schemas/2005/gmd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:gemini="http://www.gigateway.org.uk/gemini" targetNamespace="http://www.gigateway.org.uk/gemini" elementFormDefault="qualified" version="0.1"> |
---|
6 | <!-- this import contains the Gemini restrictions and extensions to smXML namespace types and elements --> |
---|
7 | <xs:import namespace="http://www.isotc211.org/schemas/2005/gmd" schemaLocation="../gemini/gmdGemini.xsd"/> |
---|
8 | <!-- ================================== Includes ================================== --> |
---|
9 | <xs:element name="GEMINI_Metadata" type="gmd:GEMINI_MetadataType" substitutionGroup="gmd:MD_Metadata"> |
---|
10 | <xs:key name="distributorKey"> |
---|
11 | <xs:selector xpath="GEMINI_Metadata/distributionInfo/GEMINI_Distribution/distributor"/> |
---|
12 | <xs:field xpath="@id"/> |
---|
13 | </xs:key> |
---|
14 | <xs:keyref name="distributorRef" refer="gemini:distributorKey"> |
---|
15 | <xs:selector xpath="GEMINI_Metadata/gmd:contact"/> |
---|
16 | <xs:field xpath="@xlink:href"/> |
---|
17 | </xs:keyref> |
---|
18 | </xs:element> |
---|
19 | </xs:schema> |
---|
Note: See
TracBrowser
for help on using the repository browser.