diff src/de/mpiwg/itgroup/eSciDoc/xmlTemplates/ECHOCollectionTemplate.xml @ 0:c6929e63b0b8

first import
author dwinter
date Wed, 24 Nov 2010 16:52:07 +0100
parents
children e0efd3a9d2f0
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/de/mpiwg/itgroup/eSciDoc/xmlTemplates/ECHOCollectionTemplate.xml	Wed Nov 24 16:52:07 2010 +0100
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--  
+	Example 4 of a minimal Item for create. This example extends example 3
+	with a second MetadataRecord for the Component. The new MetadataRecord
+	contains meta data within DC format.
+-->
+<escidocItem:item 
+	xmlns:escidocItem="http://www.escidoc.de/schemas/item/0.9"
+	xmlns:escidocMetadataRecords="http://www.escidoc.de/schemas/metadatarecords/0.5"
+	xmlns:escidocComponents="http://www.escidoc.de/schemas/components/0.9"
+	xmlns:prop="http://escidoc.de/core/01/properties/"
+	xmlns:srel="http://escidoc.de/core/01/structural-relations/"
+	xmlns:xml="http://www.w3.org/XML/1998/namespace"
+	xmlns:mpiwg="http://www.mpiwg-berlin.mpg.de/ns/mpiwg"
+	xmlns:xlink="http://www.w3.org/1999/xlink">
+
+	<escidocItem:properties>
+		<srel:context xlink:href="/ir/context/escidoc:1001" />
+		<srel:content-model xlink:href="/cmm/content-model/escidoc:3001"/>
+		<prop:pid >PID</prop:pid>
+		<prop:content-model-specific>
+			<cms-prop test="1" />
+		</prop:content-model-specific>
+		
+	</escidocItem:properties>
+
+	<!-- 
+		At least on meta data record with name escidoc is needed. 
+	-->
+	<escidocMetadataRecords:md-records>
+		<escidocMetadataRecords:md-record name="escidoc">
+			<!-- 
+				Put in the meta data within a XML structure. 
+				These XML of meta data has to have only one XML 
+				root element.
+				The following example is a minimal (may be 
+				useless) example without meta data.  
+			-->
+				<dc-md>
+				
+				
+			</dc-md>
+		</escidocMetadataRecords:md-record>
+		
+		<escidocMetadataRecords:md-record name="mpiwg-admin" md-type="MPIWG"
+			schema="http://example.com/generic/" xlink:type="simple"
+			xlink:title="MPIWG admin">
+			
+			<mpiwg:admin>
+				<!--orig ref contains the url where the object was originally imported from -->
+				<mpiwg:orig-ref/>
+			</mpiwg:admin>
+			
+		</escidocMetadataRecords:md-record>
+
+	</escidocMetadataRecords:md-records>
+
+	<!-- 
+		The Components of the Item. 
+	-->
+		<escidocComponents:components>
+		
+		<escidocComponents:component xlink:type="simple" xlink:title="web_page">
+			<escidocComponents:properties>
+				
+				
+				<prop:valid-status>valid</prop:valid-status>
+				<prop:visibility>public</prop:visibility>
+				<prop:content-category>web_page</prop:content-category>
+				<prop:mime-type>text/xml</prop:mime-type>
+				
+			</escidocComponents:properties>
+			<escidocComponents:content xlink:type="simple" xlink:title="web_page"
+				xlink:href="index_meta"
+				storage="external-url"/>
+		</escidocComponents:component>
+		
+		
+	</escidocComponents:components>
+
+</escidocItem:item>
+