This repository has been archived by the owner on Aug 18, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
test.xml
275 lines (275 loc) · 16.4 KB
/
test.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
<content_model xmlns="http://www.islandora.ca" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Standard_Map" xsi:schemaLocation="http://www.islandora.ca http://formbuilder.dev/sites/formbuilder.dev/modules/fedora_repository/islandoracm.xsd">
<mimetypes>
<type>image/tiff</type>
<type>image/tif</type>
</mimetypes>
<ingest_rules>
<rule>
<applies_to>image/tiff</applies_to>
<applies_to>image/tif</applies_to>
<ingest_methods>
<ingest_method class="ImageManipulation" dsid="JP2" file="plugins/ImageManipulation.inc" method="createJP2" modified_files_ext="jp2" module=""/>
</ingest_methods>
</rule>
</ingest_rules>
<datastreams>
<datastream dsid="JPG">
<display_method class="ShowMapStreamsInFieldSets" file="plugins/map_viewer.inc" method="showJPG" module=""/>
</datastream>
<datastream dsid="JP2"/>
<datastream dsid="FULL_SIZE"/>
<datastream dsid="FULL_JPG"/>
<datastream dsid="DC"/>
<datastream display_in_fieldset="true" dsid="MODS"/>
</datastreams>
<forms>
<form name="full">
<tabpanel>
<title>Mods</title>
<form_builder>
<xpath>
<path full="true">/mods:mods/mods:titleInfo</path>
<parent_path>/mods:mods</parent_path>
<element>mods:titleInfo</element>
</xpath>
<require_value>false</require_value>
</form_builder>
<content>
<textfield>
<title>Title</title>
<form_builder>
<xpath>
<path full="false">mods:title[1]</path>
<xml><mods:title>%value%</mods:title></xml>
</xpath>
<require_value>false</require_value>
</form_builder>
</textfield>
</content>
</tabpanel>
</form>
</forms>
<ingest_form dsid="MODS" page="2">
<form_builder_method class="ModsFormBuilder" file="plugins/ModsFormBuilder.inc" handler="handleIngestForm" method="buildIngestForm" module="fedora_repository"/>
<form_elements>
<element label="Identifier" name="mods_identifier" required="false" type="textfield">
<description>Please enter a standard number assigned to the resource. This field is optional, as an identifier in the Handle system will be automatically assigned.</description>
<parameters>
<parameter name="#edit_metadata_xpath">/mods:mods/mods:identifier[@type='paro']</parameter>
</parameters>
</element>
<element label="Title" name="mods_title" required="true" type="textfield">
<description>A descriptive title of the object.</description>
<parameters>
<parameter name="#edit_metadata_xpath">/mods:mods/mods:titleInfo/mods:title</parameter>
</parameters>
</element>
<element label="Creator" name="mods_creator" required="true" type="textfield">
<description>Creator or Author</description>
<parameters>
<parameter name="#edit_metadata_xpath">/mods:mods/mods:name/mods:namePart</parameter>
</parameters>
</element>
<element label="Format" name="mods_format" required="true" type="select">
<description>Choose the format of the original item that was digitized.</description>
<parameters>
<parameter name="#sticky">TRUE</parameter>
<parameter name="#edit_metadata_xpath">/mods:mods/mods:typeOfResource</parameter>
</parameters>
<authoritative_list>
<item>text</item>
<item>cartographic</item>
<item>notated music</item>
<item>sound recording</item>
<item>sound recording - musical</item>
<item>sound-recording - non musical</item>
<item>still image</item>
<item>moving image</item>
<item>three dimensional object</item>
<item>software</item>
<item>multimedia</item>
<item>mixed material</item>
</authoritative_list>
</element>
<element label="Description" name="mods_description" required="true" type="textarea">
<description>A summary of the content of the resource.</description>
<parameters>
<parameter name="#sticky">TRUE</parameter>
<parameter name="#edit_metadata_xpath">/mods:mods/mods:abstract</parameter>
</parameters>
</element>
<element label="Rights" name="mods_rights" required="true" type="textarea">
<description>Information about intellectual property rights, copyright, and various property rights.</description>
<parameters>
<parameter name="#sticky">TRUE</parameter>
<parameter name="#edit_metadata_xpath">/mods:mods/mods:accessCondition</parameter>
</parameters>
</element>
<element label="Note Admin" name="mods_note_admin" required="false" type="textarea">
<description>Add a note about the digital object.</description>
<parameters>
<parameter name="#edit_metadata_xpath">/mods:mods/mods:note[@type='admin']</parameter>
</parameters>
</element>
<element label="Subject(s)" name="subject" required="false" type="fieldset">
<description><b><font color="red">*</font></b> At least one subject is required. Please expand the appropriate fieldset(s) below and fill in the necessary information. </description>
</element>
<element label="Spatial" name="subject][place" required="false" type="fieldset">
<description>Is the digital object about a place? If yes, then fill in to the most specific level that the object is about.</description>
<parameters>
<parameter name="#collapsible">TRUE</parameter>
<parameter name="#collapsed">TRUE</parameter>
</parameters>
</element>
<element label="Geographic" name="subject][place][mods_geographic" required="false" type="list">
<parameters>
<parameter name="#sticky">TRUE</parameter>
<parameter name="#edit_metadata_xpath">/mods:mods/mods:subject/mods:hierarchicalGeographic</parameter>
</parameters>
</element>
<element label="Temporal" name="subject][time" required="false" type="fieldset">
<description>Is the digital object about a time? If yes then fill in to the most specific level that the object is about.</description>
<parameters>
<parameter name="#collapsible">TRUE</parameter>
<parameter name="#collapsed">TRUE</parameter>
<parameter name="#edit_metadata_xpath">/mods:mods/mods:subject/mods:temporal</parameter>
</parameters>
</element>
<element label="Date" name="subject][time][mods_date" required="false" type="list">
<description>Format is MM/DD/YYYY. Please enter the most specific level possible. If a month or day is unknown, enter '??'. If entering a range or century, enter as a free-form text field.</description>
<parameters>
<parameter name="#edit_metadata_xpath">/mods:mods/mods:subject/mods:temporal</parameter>
</parameters>
</element>
<element label="Person" name="subject][person" required="false" type="fieldset">
<description>Is the digital object about a person? If yes then please include:</description>
<parameters>
<parameter name="#collapsible">TRUE</parameter>
<parameter name="#collapsed">TRUE</parameter>
</parameters>
</element>
<element label="Personal Name" name="subject][person][mods_fullname" required="false" type="list">
<description>Please enter a semicolon separated list of topics, or enter them one at a time and press enter between each.</description>
<parameters>
<parameter name="#sticky">TRUE</parameter>
<parameter name="#edit_metadata_xpath">/mods:mods/mods:subject/mods:name[@type='personal']/mods:namePart</parameter>
</parameters>
</element>
<element label="Corporate Name" name="subject][person][mods_corporate_name" required="false" type="list">
<description>Please enter a semicolon separated list of topics, or enter them one at a time and press enter between each.</description>
<parameters>
<parameter name="#sticky">TRUE</parameter>
<parameter name="#edit_metadata_xpath">/mods:mods/mods:subject/mods:name[@type='corporate']/mods:namePart</parameter>
</parameters>
</element>
<element label="Topic" name="subject][topic" required="false" type="fieldset">
<description>Is the digital object about a thing?</description>
<parameters>
<parameter name="#collapsed">TRUE</parameter>
<parameter name="#collapsible">TRUE</parameter>
</parameters>
</element>
<element label="Topics" name="subject][topic][mods_topics" required="false" type="list">
<description>Please enter a semicolon separated list of topics, or enter then one at a time and press enter between each.</description>
<parameters>
<parameter name="#sticky">TRUE</parameter>
<parameter name="#edit_metadata_xpath">/mods:mods/mods:subject/mods:topic</parameter>
</parameters>
</element>
<element label="Title" name="subject][title" required="false" type="fieldset">
<description>Is the digital object about another title? </description>
<parameters>
<parameter name="#collapsible">TRUE</parameter>
<parameter name="#collapsed">TRUE</parameter>
</parameters>
</element>
<element label="Title" name="subject][title][mods_subjtitle" required="false" type="textfield">
<description>The other title that this object is about.</description>
<parameters>
<parameter name="#sticky">TRUE</parameter>
<parameter name="#edit_metadata_xpath">/mods:mods/mods:subject/mods:titleInfo/mods:title</parameter>
</parameters>
</element>
<element label="Language(s)" name="mods_language" required="false" type="list">
<description>Please identify the language(s) of the resource. Find as you type.</description>
<parameters>
<parameter name="#sticky">TRUE</parameter>
<parameter name="#autocomplete_path">autocomplete_language</parameter>
<parameter name="#edit_metadata_xpath">/mods:mods/mods:language/mods:languageTerm</parameter>
</parameters>
</element>
<element label="Entities" name="mods_people" required="false" type="people">
<description>Please enter a list of entities that are related to this object by the specified roles.</description>
<parameters>
<parameter name="#collapsible">TRUE</parameter>
<parameter name="#collapsed">TRUE</parameter>
</parameters>
</element>
<element label="Physical Location" name="physlocation" required="false" type="fieldset">
<description>Physical location of the object.</description>
<parameters>
<parameter name="#collapsible">TRUE</parameter>
<parameter name="#collapsed">TRUE</parameter>
</parameters>
</element>
<element label="Physical Location" name="physlocation][mods_physicalLocation" required="false" type="textarea">
<parameters>
<parameter name="#sticky">TRUE</parameter>
<parameter name="#edit_metadata_xpath">/mods:mods/mods:location/mods:physicalLocation</parameter>
</parameters>
</element>
<element label="Shelf Locator" name="physlocation][mods_shelfLocator" required="false" type="textfield">
<description>optional. eg Archives Number.</description>
<parameters>
<parameter name="#sticky">TRUE</parameter>
<parameter name="#edit_metadata_xpath">/mods:mods/mods:location/mods:shelfLocator</parameter>
</parameters>
</element>
<element label="Publication/Origin Information" name="pubinfo" required="false" type="fieldset">
<description>Enter information if applicable about the publication/release/copyright of the original (not the digitized) object.</description>
<parameters>
<parameter name="#collapsible">TRUE</parameter>
<parameter name="#collapsed">TRUE</parameter>
</parameters>
</element>
<element label="Place" name="pubinfo][mods_pubinfo_place" required="false" type="textfield">
<parameters>
<parameter name="#edit_metadata_xpath">/mods:mods/mods:originInfo/mods:place/mods:placeTerm[@type='text']</parameter>
</parameters>
</element>
<element label="Publisher" name="pubinfo][mods_pubinfo_publisher" required="false" type="textfield">
<parameters>
<parameter name="#edit_metadata_xpath">/mods:mods/mods:originInfo/mods:publisher</parameter>
</parameters>
</element>
<element label="Date Created" name="pubinfo][mods_date_created" required="false" type="datepicker">
<parameters>
<parameter name="#edit_metadata_xpath">/mods:mods/mods:originInfo/mods:dateCreated</parameter>
</parameters>
</element>
<element label="Date Captured" name="pubinfo][mods_date_captured" required="false" type="datepicker">
<description>Format is MM/DD/YYYY. Please enter the most specific level possible. If a month or day is unknown, enter '??'.</description>
<parameters>
<parameter name="#edit_metadata_xpath">/mods:mods/mods:originInfo/mods:dateCaptured</parameter>
</parameters>
</element>
<element label="Edition" name="pubinfo][mods_pubinfo_edition" required="false" type="textfield">
<parameters>
<parameter name="#edit_metadata_xpath">/mods:mods/mods:originInfo/mods:edition</parameter>
</parameters>
</element>
<element label="Language of Cataloging" name="mods_languageOfCataloging" required="false" type="textfield">
<description>Language of Cataloging</description>
<parameters>
<parameter name="#edit_metadata_xpath">/mods:mods/mods:recordInfo/mods:languageOfCataloging/mods:languageTerm[@authority='iso639-2']</parameter>
</parameters>
</element>
<element label="Ingest File" name="ingest-file-location" required="false" type="filechooser">
<description>Please select a file to ingest. </description>
<parameters>
<parameter name="#exclude_from_edit_metadata">TRUE</parameter>
</parameters>
</element>
</form_elements>
</ingest_form>
</content_model>