<?xml version="1.0" encoding="UTF-8"?>
<!--
 Copyright (c) 2007 IBM Corporation.
 All rights reserved.   This program and the accompanying materials
 are made available under the terms of the Eclipse Public License v1.0
 which accompanies this distribution, and is available at
 http://www.eclipse.org/legal/epl-v10.html
 
 Contributors: 
 IBM - Initial API and implementation
-->

<s:registerRequest xmlns:s="http://cmdbf.org/schema/1-0-0/datamodel">
	<s:mdrId>org.eclipse.cosmos.samples.cmdbf.XMLRepository</s:mdrId>
	<s:itemList>
		<s:item>
			<s:record xmlns:st="http://school.com">
				<st:student>
	 				<st:identity firstName="Bob" lastName="Davidson" id="01"/>
				</st:student>
				<s:recordMetadata>
					<s:recordId></s:recordId>
				</s:recordMetadata>
			</s:record>
			<s:instanceId>
				<s:mdrId>org.eclipse.cosmos.samples.cmdbf.XMLRepository</s:mdrId>
				<s:localId>01</s:localId>
			</s:instanceId>
		</s:item>
		
		<s:item>
			<s:record xmlns:st="http://school.com">
				<st:teacher>
	 				<st:identity firstName="Dawn" lastName="Johnson" id="staff01"/>
				</st:teacher>
				<s:recordMetadata>
					<s:recordId></s:recordId>
				</s:recordMetadata>
			</s:record>
			<s:instanceId>
				<s:mdrId>org.eclipse.cosmos.samples.cmdbf.XMLRepository</s:mdrId>
				<s:localId>staff01</s:localId>
			</s:instanceId>
		</s:item>		
	</s:itemList>
	
	<s:relationshipList>
		<s:relationship>
			<s:source>
				<s:mdrId>org.eclipse.cosmos.samples.cmdbf.XMLRepository</s:mdrId>
				<s:localId>staff01</s:localId>
			</s:source>
			
			<s:target>
				<s:mdrId>org.eclipse.cosmos.samples.cmdbf.XMLRepository</s:mdrId>
				<s:localId>01</s:localId>
			</s:target>
			
			<s:record xmlns:st="http://school.com">
				<st:class name="Economics" courseCode="ECM01">
					<st:students>
				  		<st:enrolledStudent idRef="01"/>
				  		<st:enrolledStudent idRef="03"/>
				 	</st:students>
				 	<st:teacher idRef="staff01"/>
				</st:class>
				<s:recordMetadata>
					<s:recordId></s:recordId>
				</s:recordMetadata>
			</s:record>
			
			<s:instanceId>
				<s:mdrId>org.eclipse.cosmos.samples.cmdbf.XMLRepository</s:mdrId>
				<s:localId>ECM01</s:localId>
			</s:instanceId>
		</s:relationship>
	</s:relationshipList>
</s:registerRequest>