Project

General

Profile

Bug #494 ยป datasetMerge.xsd

Peter McCartney, 05/17/2002 09:45 AM

 
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!-- edited with XML Spy v4.0.1 (http://www.xmlspy.com) by Peter McCartney (private) -->
3
<xs:schema targetNamespace="eml:datasetMerged" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:doc="eml:documentation-2.0.0beta8" xmlns:ds="eml:dataset-2.0.0beta8" xmlns:att="eml:attribute-2.0.0beta8" xmlns:tab="eml:table-2.0.0beta8" xmlns:res="eml:resource-2.0.0beta8" xmlns:cov="eml:coverage-2.0.0beta8" xmlns="eml:datasetMerged">
4
	<xs:import namespace="eml:dataset-2.0.0beta8" schemaLocation="eml-dataset.xsd"/>
5
	<xs:import namespace="eml:table-2.0.0beta8" schemaLocation="eml-table.xsd"/>
6
	<xs:import namespace="eml:attribute-2.0.0beta8" schemaLocation="eml-attribute.xsd"/>
7
	<xs:import namespace="eml:documentation-2.0.0beta8" schemaLocation="eml-documentation.xsd"/>
8
	<xs:element name="dataset">
9
		<xs:annotation>
10
			<xs:documentation>Comment describing your root element</xs:documentation>
11
		</xs:annotation>
12
		<xs:complexType>
13
			<xs:complexContent>
14
				<xs:extension base="ds:datasetType">
15
					<xs:sequence>
16
						<xs:choice>
17
							<xs:element name="table">
18
								<xs:complexType>
19
									<xs:complexContent>
20
										<xs:extension base="tab:TableEntityBase">
21
											<xs:sequence>
22
												<xs:element name="attribute" minOccurs="0" maxOccurs="unbounded">
23
													<xs:complexType>
24
														<xs:complexContent>
25
															<xs:extension base="att:AttributeBase">
26
																<xs:sequence>
27
																	<xs:element name="protocol" minOccurs="0"/>
28
																</xs:sequence>
29
															</xs:extension>
30
														</xs:complexContent>
31
													</xs:complexType>
32
												</xs:element>
33
												<xs:element name="constraint" minOccurs="0" maxOccurs="unbounded"/>
34
											</xs:sequence>
35
										</xs:extension>
36
									</xs:complexContent>
37
								</xs:complexType>
38
							</xs:element>
39
						</xs:choice>
40
						<xs:element name="protocol" minOccurs="0"/>
41
						<xs:element name="researchProject" minOccurs="0"/>
42
					</xs:sequence>
43
				</xs:extension>
44
			</xs:complexContent>
45
		</xs:complexType>
46
	</xs:element>
47
</xs:schema>
    (1-1/1)