Changeset 2189 for TI01-discovery/trunk/schema/numsim/NumSim.xsd
- Timestamp:
- 20/02/07 12:46:06 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TI01-discovery/trunk/schema/numsim/NumSim.xsd
r912 r2189 2 2 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xlink="http://www.w3.org/1999/xlink" 3 3 xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:gmd="http://www.isotc211.org/2005/gmd" 4 version="00800">4 xmlns:moles="http://ndg.nerc.ac.uk/moles" version="00801"> 5 5 <xs:annotation> 6 <xs:documentation> Author: Bryan Lawrence Version date: May 10th, 2006 </xs:documentation> 6 <xs:documentation>Author: Bryan Lawrence; Version Date: Feb 20, 2007</xs:documentation> 7 <xs:documentation> Previous Version: Bryan Lawrence, May 10th, 2006 </xs:documentation> 7 8 <xs:documentation>The expectation is that this schema will be used initially by import into 8 9 discovery records (ideally ISO19115 based). While such discovery records already include … … 50 51 <xs:import namespace="http://www.isotc211.org/2005/gmd" 51 52 schemaLocation="../iso19139/gml3.1.1version/gmd/citation.xsd"/> 52 <xs:attributeGroup name="NS_link"> 53 <xs:import namespace="http://ndg.nerc.ac.uk/moles" 54 schemaLocation="http://ndg.nerc.ac.uk/schema/moles_1.2.5.xsd"/> 55 <xs:attributeGroup name="NS_xlink"> 53 56 <xs:annotation> 54 57 <xs:documentation> The attributes are those of a hyperlink, with the addition of a role … … 60 63 <xs:attribute name="dateOfCitation" type="gco:Date_Type" use="optional"/> 61 64 </xs:attributeGroup> 65 <xs:complexType name="NS_Link"> 66 <xs:all> 67 <xs:element name="NS_NumSimDoc" type="moles:dgMetadataIDType" minOccurs="0"/> 68 </xs:all> 69 <xs:attributeGroup ref="NS_xlink"/> 70 </xs:complexType> 62 71 <xs:complexType name="NS_RelatedTo"> 63 72 <xs:annotation> … … 65 74 </xs:annotation> 66 75 <xs:sequence> 67 <xs:element name="NS_Relationship" type="xs:string"/>68 </xs:sequence>69 < xs:attributeGroup ref="NS_link"/>76 <xs:element name="NS_Relationship" minOccurs="1" maxOccurs="1" type="xs:string"/> 77 <xs:element name="NS_LinkTarget" type="NS_Link"/> 78 </xs:sequence> 70 79 </xs:complexType> 71 80 <xs:complexType name="NS_Description" mixed="true"> … … 273 282 </xs:complexType> 274 283 <xs:complexType name="NS_CodeBase"> 275 <xs:sequence> 276 <xs:element name="NS_Description" type="NS_Description"/> 277 <xs:element name="NS_Model" type="NS_Model" minOccurs="1" maxOccurs="unbounded"/> 278 </xs:sequence> 284 <xs:choice> 285 <xs:sequence> 286 <xs:element name="NS_ID" type="moles:dgMetadataIDType"/> 287 <xs:element name="NS_Description" type="NS_Description"/> 288 <xs:element name="NS_Model" type="NS_Model" minOccurs="1" maxOccurs="unbounded"/> 289 </xs:sequence> 290 <xs:element name="NS_ExternalCodeBase" type="NS_Link"> 291 <xs:annotation> 292 <xs:documentation>It is assumed that the consumer of this document can parse 293 this ID locate it, and populate the contents as appropriate. At some future 294 version we might use an xlink here.</xs:documentation> 295 </xs:annotation> 296 </xs:element> 297 </xs:choice> 279 298 </xs:complexType> 280 299 <xs:complexType name="NS_Experiment"> … … 285 304 </xs:annotation> 286 305 <xs:sequence> 306 <xs:element name="NS_ID" type="moles:dgMetadataIDType"/> 287 307 <xs:element name="NS_Description" type="NS_Description"/> 288 308 <xs:element name="NS_BoundaryCondition" type="NS_BoundaryCondition" minOccurs="0"
Note: See TracChangeset
for help on using the changeset viewer.