Project

General

Profile

Bug #1662 » example_id_system_scope.xml

gastil gastil, 04/15/2011 12:36 PM

 
1
<?xml version="1.0"?>						<!-- example to illustrate id attribute; does parse -->
2
<?xml-stylesheet type="text/xsl"
3
	href="../../style/eml/eml-2.0.0.xsl"?>
4
<eml:eml xmlns:eml="eml://ecoinformatics.org/eml-2.1.0"
5
	xmlns:stmml="http://www.xml-cml.org/schema/stmml"
6
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
7
	xmlns:ds="eml://ecoinformatics.org/dataset-2.1.0" 
8
	packageId="knb-lter-xxx.1.1"
9
	scope="system" system="knb"
10
	xsi:schemaLocation="eml://ecoinformatics.org/eml-2.1.0 http://nis.lternet.edu/schemas/EML/eml-2.1.0/eml.xsd">
11
	<!-- scope="system" is required in eml element -->
12
	
13
	<access scope="document" order="allowFirst" authSystem="knb">
14
		<allow>
15
			<principal>public</principal>
16
			<permission>read</permission>
17
		</allow>
18
	</access>
19
	<dataset scope="document">
20
		<title>foo</title>
21
		<creator id="foo" scope="document">
22
			<organizationName>foo</organizationName>
23
		</creator>
24
		<creator id="janedoe_pi" scope="document"> <!-- id must be unique within eml doc -->
25
			<individualName>
26
				<givenName>Jane</givenName>
27
				<surName>Doe</surName>
28
			</individualName>
29
			<organizationName>Some Random LTER</organizationName>
30
		</creator>
31
		<associatedParty id="joedoh" scope="document">
32
			<individualName>
33
				<givenName>Joe</givenName>
34
				<surName>Doh</surName>
35
			</individualName>	
36
			<role>contentProvider</role>
37
		</associatedParty>
38
		<contact id="janedoe_im" scope="document"> <!-- id must be unique within eml doc -->
39
			<organizationName>Some Random LTER</organizationName>
40
			<positionName>Information Manager</positionName>
41
		</contact>
42
		
43
		<project id="xxx-boilerplate-project_XXX" system="xxxlter" scope="system">
44
			<title>XXX Project</title>
45
			<personnel scope="document">
46
				<references>janedoe_pi</references>
47
				<role>Principal Investigator</role>
48
			</personnel>	
49
			<personnel>
50
				<references>joedoh</references>
51
				<role>CO-PI</role>
52
			</personnel>			
53
		</project>
54
	</dataset>
55
</eml:eml>
(1-1/2)