0
|
1 <?xml version="1.0" encoding="UTF-8"?>
|
|
2 <!--
|
|
3 Example 4 of a minimal Item for create. This example extends example 3
|
|
4 with a second MetadataRecord for the Component. The new MetadataRecord
|
|
5 contains meta data within DC format.
|
|
6 -->
|
|
7 <escidocItem:item
|
|
8 xmlns:escidocItem="http://www.escidoc.de/schemas/item/0.9"
|
|
9 xmlns:escidocMetadataRecords="http://www.escidoc.de/schemas/metadatarecords/0.5"
|
|
10 xmlns:escidocComponents="http://www.escidoc.de/schemas/components/0.9"
|
|
11 xmlns:prop="http://escidoc.de/core/01/properties/"
|
|
12 xmlns:srel="http://escidoc.de/core/01/structural-relations/"
|
|
13 xmlns:xml="http://www.w3.org/XML/1998/namespace"
|
|
14 xmlns:mpiwg="http://www.mpiwg-berlin.mpg.de/ns/mpiwg"
|
|
15 xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
16
|
|
17 <escidocItem:properties>
|
|
18 <srel:context xlink:href="/ir/context/escidoc:1001" />
|
|
19 <srel:content-model xlink:href="/cmm/content-model/escidoc:3001"/>
|
|
20 <prop:pid >PID</prop:pid>
|
|
21 <prop:content-model-specific>
|
|
22 <cms-prop test="1" />
|
|
23 </prop:content-model-specific>
|
|
24
|
|
25 </escidocItem:properties>
|
|
26
|
|
27 <!--
|
|
28 At least on meta data record with name escidoc is needed.
|
|
29 -->
|
|
30 <escidocMetadataRecords:md-records>
|
|
31 <escidocMetadataRecords:md-record name="escidoc">
|
|
32 <!--
|
|
33 Put in the meta data within a XML structure.
|
|
34 These XML of meta data has to have only one XML
|
|
35 root element.
|
|
36 The following example is a minimal (may be
|
|
37 useless) example without meta data.
|
|
38 -->
|
|
39 <dc-md>
|
|
40
|
|
41
|
|
42 </dc-md>
|
|
43 </escidocMetadataRecords:md-record>
|
|
44
|
|
45 <escidocMetadataRecords:md-record name="mpiwg-index_meta" md-type="INDEX-META"
|
|
46 schema="http://example.com/generic/" xlink:type="simple"
|
|
47 xlink:title="echo Metadata"
|
|
48 xmlns="http://www.mpiwg-berlin.mpg.de/ns/mpiwg">
|
|
49
|
|
50
|
|
51
|
|
52 </escidocMetadataRecords:md-record>
|
|
53 <escidocMetadataRecords:md-record name="mpiwg-admin" md-type="MPIWG"
|
|
54 schema="http://example.com/generic/" xlink:type="simple"
|
|
55 xlink:title="MPIWG admin">
|
|
56
|
|
57 <mpiwg:admin>
|
|
58 <!--orig ref contains the url where the object was originally imported from -->
|
|
59 <mpiwg:orig-ref/>
|
|
60 </mpiwg:admin>
|
|
61
|
|
62 </escidocMetadataRecords:md-record>
|
|
63
|
|
64 </escidocMetadataRecords:md-records>
|
|
65
|
|
66 <!--
|
|
67 The Components of the Item.
|
|
68 -->
|
|
69 <escidocComponents:components>
|
|
70
|
|
71 <escidocComponents:component xlink:type="simple" xlink:title="web_page">
|
|
72 <escidocComponents:properties>
|
|
73
|
|
74
|
|
75 <prop:valid-status>valid</prop:valid-status>
|
|
76 <prop:visibility>public</prop:visibility>
|
|
77 <prop:content-category>web_page</prop:content-category>
|
|
78 <prop:mime-type>text/xml</prop:mime-type>
|
|
79
|
|
80 </escidocComponents:properties>
|
|
81 <escidocComponents:content xlink:type="simple" xlink:title="web_page"
|
|
82 xlink:href="index_meta"
|
|
83 storage="external-url"/>
|
|
84 </escidocComponents:component>
|
|
85
|
|
86
|
|
87 </escidocComponents:components>
|
|
88
|
|
89 </escidocItem:item>
|
|
90
|