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-admin" md-type="MPIWG"
|
|
46 schema="http://example.com/generic/" xlink:type="simple"
|
|
47 xlink:title="MPIWG admin">
|
|
48
|
|
49 <mpiwg:admin>
|
|
50 <!--orig ref contains the url where the object was originally imported from -->
|
|
51 <mpiwg:orig-ref/>
|
|
52 </mpiwg:admin>
|
|
53
|
|
54 </escidocMetadataRecords:md-record>
|
|
55
|
|
56 </escidocMetadataRecords:md-records>
|
|
57
|
|
58 <!--
|
|
59 The Components of the Item.
|
|
60 -->
|
|
61 <escidocComponents:components>
|
|
62
|
|
63 <escidocComponents:component xlink:type="simple" xlink:title="web_page">
|
|
64 <escidocComponents:properties>
|
|
65
|
|
66
|
|
67 <prop:valid-status>valid</prop:valid-status>
|
|
68 <prop:visibility>public</prop:visibility>
|
|
69 <prop:content-category>web_page</prop:content-category>
|
|
70 <prop:mime-type>text/xml</prop:mime-type>
|
|
71
|
|
72 </escidocComponents:properties>
|
|
73 <escidocComponents:content xlink:type="simple" xlink:title="web_page"
|
|
74 xlink:href="index_meta"
|
|
75 storage="external-url"/>
|
|
76 </escidocComponents:component>
|
|
77
|
|
78
|
|
79 </escidocComponents:components>
|
|
80
|
|
81 </escidocItem:item>
|
|
82
|