Created
August 15, 2014 05:52
-
-
Save hardyoyo/2e594a3d6ee41a311932 to your computer and use it in GitHub Desktop.
input-forms.xml file for duplicating DS-2104 (and testing DSPR#607)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!DOCTYPE input-forms SYSTEM "input-forms.dtd"> | |
<input-forms> | |
<!-- The form-map maps collection handles to forms. DSpace does not --> | |
<!-- require a collection name to be unique, not even within a community. --> | |
<!-- DSpace does however ensure that each collection's handle is unique. --> | |
<!-- Form-map provides the means to associate a unique collection name --> | |
<!-- with a form. The form-map also provides the special handle "default" --> | |
<!-- (which is never a collection), here mapped to "traditional". Any --> | |
<!-- collection which does not appear in this map will be associated with --> | |
<!-- the mapping for handle "default". --> | |
<form-map> | |
<name-map collection-handle="default" form-name="traditional" /> | |
</form-map> | |
<!-- The form-definitions map lays out the detailed definition of all the --> | |
<!-- submission forms. Each separate form set has a unique name as an --> | |
<!-- attribute. This name matches one of the names in the form-map. One --> | |
<!-- named form set has the name "traditional"; as this name suggests, --> | |
<!-- it is the old style and is also the default, which gets used when --> | |
<!-- the specified collection has no correspondingly-named form set. --> | |
<!-- --> | |
<!-- Each form set contains an ordered set of pages; each page defines --> | |
<!-- one submission metadata entry screen. Each page has an ordered list --> | |
<!-- of field definitions, Each field definition corresponds to one --> | |
<!-- metatdata entry (a so-called row), which has a DC element name, a --> | |
<!-- displayed label, a text string prompt which is called a hint, and --> | |
<!-- an input-type. Each field also may hold optional elements: DC --> | |
<!-- qualifier name, a repeatable flag, and a text string whose presence --> | |
<!-- serves as a 'this field is required' flag. --> | |
<form-definitions> | |
<form name="traditional"> | |
<page number="1"> | |
<field> | |
<dc-schema>dc</dc-schema> | |
<dc-element>contributor</dc-element> | |
<dc-qualifier>author</dc-qualifier> | |
<repeatable>true</repeatable> | |
<label>Authors</label> | |
<input-type>name</input-type> | |
<hint>Enter the names of the authors of this item below.</hint> | |
<required></required> | |
</field> | |
<field> | |
<dc-schema>dc</dc-schema> | |
<dc-element>title</dc-element> | |
<dc-qualifier></dc-qualifier> | |
<repeatable>false</repeatable> | |
<label>Title</label> | |
<input-type>onebox</input-type> | |
<hint>Enter the main title of the item.</hint> | |
<required>You must enter a main title for this item.</required> | |
</field> | |
<field> | |
<dc-schema>dc</dc-schema> | |
<dc-element>title</dc-element> | |
<dc-qualifier>alternative</dc-qualifier> | |
<repeatable>true</repeatable> | |
<label>Other Titles</label> | |
<input-type>onebox</input-type> | |
<hint>If the item has any alternative titles, please enter them below.</hint> | |
<required></required> | |
</field> | |
<field> | |
<dc-schema>dc</dc-schema> | |
<dc-element>date</dc-element> | |
<dc-qualifier>issued</dc-qualifier> | |
<repeatable>false</repeatable> | |
<label>Date of Issue</label> | |
<input-type>date</input-type> | |
<hint>Please give the date of previous publication or public distribution | |
below. You can leave out the day and/or month if they aren't | |
applicable.</hint> | |
<required>You must enter at least the year.</required> | |
</field> | |
<field> | |
<dc-schema>dc</dc-schema> | |
<dc-element>publisher</dc-element> | |
<dc-qualifier></dc-qualifier> | |
<repeatable>false</repeatable> | |
<label>Publisher</label> | |
<input-type>onebox</input-type> | |
<hint>Enter the name of the publisher of the previously issued instance of this item.</hint> | |
<required></required> | |
</field> | |
<field> | |
<dc-schema>dc</dc-schema> | |
<dc-element>identifier</dc-element> | |
<dc-qualifier></dc-qualifier> | |
<!-- An input-type of qualdrop_value MUST be marked as repeatable --> | |
<repeatable>true</repeatable> | |
<label>Identifiers</label> | |
<input-type value-pairs-name="common_identifiers">qualdrop_value</input-type> | |
<hint>If the item has any identification numbers or codes associated with | |
it, please enter the types and the actual numbers or codes below.</hint> | |
<required></required> | |
</field> | |
</page> | |
<page number="2"> | |
<field> | |
<dc-schema>dc</dc-schema> | |
<dc-element>identifier</dc-element> | |
<dc-qualifier>citation</dc-qualifier> | |
<repeatable>false</repeatable> | |
<label>Citation</label> | |
<input-type>onebox</input-type> | |
<hint>Enter the standard citation for the previously issued instance of this item.</hint> | |
<required></required> | |
</field> | |
<field> | |
<dc-schema>dc</dc-schema> | |
<dc-element>relation</dc-element> | |
<dc-qualifier>ispartofseries</dc-qualifier> | |
<repeatable>true</repeatable> | |
<label>Series/Report No.</label> | |
<input-type>series</input-type> | |
<hint>Enter the series and number assigned to this item by your community.</hint> | |
<required></required> | |
</field> | |
<field> | |
<dc-schema>dc</dc-schema> | |
<dc-element>type</dc-element> | |
<dc-qualifier></dc-qualifier> | |
<repeatable>true</repeatable> | |
<label>Type</label> | |
<input-type value-pairs-name="common_types">dropdown</input-type> | |
<hint>Select the type(s) of content of the item. To select more than one value in the list, you may have to hold down the "CTRL" or "Shift" key.</hint> | |
<required></required> | |
</field> | |
<field> | |
<dc-schema>dc</dc-schema> | |
<dc-element>language</dc-element> | |
<dc-qualifier>iso</dc-qualifier> | |
<repeatable>false</repeatable> | |
<label>Language</label> | |
<input-type value-pairs-name="common_iso_languages">dropdown</input-type> | |
<hint>Select the language of the main content of the item. If the language does not appear in the list below, please select 'Other'. If the content does not really have a language (for example, if it is a dataset or an image) please select 'N/A'.</hint> | |
<required></required> | |
</field> | |
<field> | |
<dc-schema>dc</dc-schema> | |
<dc-element>subject</dc-element> | |
<dc-qualifier></dc-qualifier> | |
<!-- An input-type of twobox MUST be marked as repeatable --> | |
<repeatable>true</repeatable> | |
<label>Subject Keywords</label> | |
<input-type>twobox</input-type> | |
<hint>Enter appropriate subject keywords or phrases below. </hint> | |
<required></required> | |
<vocabulary>srsc</vocabulary> | |
</field> | |
<field> | |
<dc-schema>dc</dc-schema> | |
<dc-element>description</dc-element> | |
<dc-qualifier>abstract</dc-qualifier> | |
<repeatable>false</repeatable> | |
<label>Abstract</label> | |
<input-type>textarea</input-type> | |
<hint>Enter the abstract of the item below. </hint> | |
<required></required> | |
</field> | |
<field> | |
<dc-schema>dc</dc-schema> | |
<dc-element>description</dc-element> | |
<dc-qualifier>sponsorship</dc-qualifier> | |
<repeatable>false</repeatable> | |
<label>Sponsors</label> | |
<input-type>textarea</input-type> | |
<hint>Enter the names of any sponsors and/or funding codes in the box below. </hint> | |
<required></required> | |
</field> | |
<field> | |
<dc-schema>dc</dc-schema> | |
<dc-element>description</dc-element> | |
<dc-qualifier></dc-qualifier> | |
<repeatable>false</repeatable> | |
<label>Description</label> | |
<input-type>textarea</input-type> | |
<hint>Enter any other description or comments in this box. </hint> | |
<required></required> | |
</field> | |
</page> | |
</form> | |
<form name="one"> | |
<page number="1"> | |
<field> | |
<dc-schema>dc</dc-schema> | |
<dc-element>contributor</dc-element> | |
<dc-qualifier>author</dc-qualifier> | |
<repeatable>true</repeatable> | |
<label>One: Authors</label> | |
<input-type>name</input-type> | |
<hint>Enter the names of the authors of this item below.</hint> | |
<required></required> | |
</field> | |
</page> | |
</form> | |
</form-definitions> | |
<!-- form-value-pairs populate dropdown and qualdrop-value lists. --> | |
<!-- The form-value-pairs element holds child elements named 'value-pairs' --> | |
<!-- A 'value-pairs' element has a value-pairs-name and a dc-term --> | |
<!-- attribute. The dc-term attribute specifies which to which Dublin Core --> | |
<!-- Term this set of value-pairs applies. --> | |
<!-- Current dc-terms are: identifier-pairs, type-pairs, and --> | |
<!-- language_iso-pairs. The name attribute matches a name --> | |
<!-- in the form-map, above. --> | |
<!-- A value-pair contains one 'pair' for each value displayed in the list --> | |
<!-- Each pair contains a 'displayed-value' element and a 'stored-value' --> | |
<!-- element. A UI list displays the displayed-values, but the program --> | |
<!-- stores the associated stored-values in the database. --> | |
<form-value-pairs> | |
<value-pairs value-pairs-name="common_identifiers" dc-term="identifier"> | |
<pair> | |
<displayed-value>ISSN</displayed-value> | |
<stored-value>issn</stored-value> | |
</pair> | |
<pair> | |
<displayed-value>Other</displayed-value> | |
<stored-value>other</stored-value> | |
</pair> | |
<pair> | |
<displayed-value>ISMN</displayed-value> | |
<stored-value>ismn</stored-value> | |
</pair> | |
<pair> | |
<displayed-value>Gov't Doc #</displayed-value> | |
<stored-value>govdoc</stored-value> | |
</pair> | |
<pair> | |
<displayed-value>URI</displayed-value> | |
<stored-value>uri</stored-value> | |
</pair> | |
<pair> | |
<displayed-value>ISBN</displayed-value> | |
<stored-value>isbn</stored-value> | |
</pair> | |
</value-pairs> | |
<value-pairs value-pairs-name="common_types" dc-term="type"> | |
<pair> | |
<displayed-value>Animation</displayed-value> | |
<stored-value>Animation</stored-value> | |
</pair> | |
<pair> | |
<displayed-value>Article</displayed-value> | |
<stored-value>Article</stored-value> | |
</pair> | |
<pair> | |
<displayed-value>Book</displayed-value> | |
<stored-value>Book</stored-value> | |
</pair> | |
<pair> | |
<displayed-value>Book chapter</displayed-value> | |
<stored-value>Book chapter</stored-value> | |
</pair> | |
<pair> | |
<displayed-value>Dataset</displayed-value> | |
<stored-value>Dataset</stored-value> | |
</pair> | |
<pair> | |
<displayed-value>Learning Object</displayed-value> | |
<stored-value>Learning Object</stored-value> | |
</pair> | |
<pair> | |
<displayed-value>Image</displayed-value> | |
<stored-value>Image</stored-value> | |
</pair> | |
<pair> | |
<displayed-value>Image, 3-D</displayed-value> | |
<stored-value>Image, 3-D</stored-value> | |
</pair> | |
<pair> | |
<displayed-value>Map</displayed-value> | |
<stored-value>Map</stored-value> | |
</pair> | |
<pair> | |
<displayed-value>Musical Score</displayed-value> | |
<stored-value>Musical Score</stored-value> | |
</pair> | |
<pair> | |
<displayed-value>Plan or blueprint</displayed-value> | |
<stored-value>Plan or blueprint</stored-value> | |
</pair> | |
<pair> | |
<displayed-value>Preprint</displayed-value> | |
<stored-value>Preprint</stored-value> | |
</pair> | |
<pair> | |
<displayed-value>Presentation</displayed-value> | |
<stored-value>Presentation</stored-value> | |
</pair> | |
<pair> | |
<displayed-value>Recording, acoustical</displayed-value> | |
<stored-value>Recording, acoustical</stored-value> | |
</pair> | |
<pair> | |
<displayed-value>Recording, musical</displayed-value> | |
<stored-value>Recording, musical</stored-value> | |
</pair> | |
<pair> | |
<displayed-value>Recording, oral</displayed-value> | |
<stored-value>Recording, oral</stored-value> | |
</pair> | |
<pair> | |
<displayed-value>Software</displayed-value> | |
<stored-value>Software</stored-value> | |
</pair> | |
<pair> | |
<displayed-value>Technical Report</displayed-value> | |
<stored-value>Technical Report</stored-value> | |
</pair> | |
<pair> | |
<displayed-value>Thesis</displayed-value> | |
<stored-value>Thesis</stored-value> | |
</pair> | |
<pair> | |
<displayed-value>Video</displayed-value> | |
<stored-value>Video</stored-value> | |
</pair> | |
<pair> | |
<displayed-value>Working Paper</displayed-value> | |
<stored-value>Working Paper</stored-value> | |
</pair> | |
<pair> | |
<displayed-value>Other</displayed-value> | |
<stored-value>Other</stored-value> | |
</pair> | |
</value-pairs> | |
<!-- default language order: (from dspace 1.2.1) | |
"en_US", "en", "es", "de", "fr", "it", "ja", "zh", "other", "" | |
--> | |
<value-pairs value-pairs-name="common_iso_languages" dc-term="language_iso"> | |
<pair> | |
<displayed-value>N/A</displayed-value> | |
<stored-value></stored-value> | |
</pair> | |
<pair> | |
<displayed-value>English (United States)</displayed-value> | |
<stored-value>en_US</stored-value> | |
</pair> | |
<pair> | |
<displayed-value>English</displayed-value> | |
<stored-value>en</stored-value> | |
</pair> | |
<pair> | |
<displayed-value>Spanish</displayed-value> | |
<stored-value>es</stored-value> | |
</pair> | |
<pair> | |
<displayed-value>German</displayed-value> | |
<stored-value>de</stored-value> | |
</pair> | |
<pair> | |
<displayed-value>French</displayed-value> | |
<stored-value>fr</stored-value> | |
</pair> | |
<pair> | |
<displayed-value>Italian</displayed-value> | |
<stored-value>it</stored-value> | |
</pair> | |
<pair> | |
<displayed-value>Japanese</displayed-value> | |
<stored-value>ja</stored-value> | |
</pair> | |
<pair> | |
<displayed-value>Chinese</displayed-value> | |
<stored-value>zh</stored-value> | |
</pair> | |
<pair> | |
<displayed-value>Turkish</displayed-value> | |
<stored-value>tr</stored-value> | |
</pair> | |
<pair> | |
<displayed-value>(Other)</displayed-value> | |
<stored-value>other</stored-value> | |
</pair> | |
</value-pairs> | |
</form-value-pairs> | |
</input-forms> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment