Difference between revisions of "DSpace exports"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
= Collection export = | = Collection export = | ||
− | Used the following command to export a two-item collection with the handle 123456789-6 | + | Used the following command to export a two-item collection with the handle 123456789-6: |
<pre>./dspace packager -d -a -t AIP -e <user name> -i 123456789-6 calamy.zip</pre> | <pre>./dspace packager -d -a -t AIP -e <user name> -i 123456789-6 calamy.zip</pre> | ||
Line 20: | Line 20: | ||
[[File:export.png|680px|thumb|center|]] | [[File:export.png|680px|thumb|center|]] | ||
+ | == Collection-level mets.xml file == | ||
− | + | The mets.xml file for the collection is structured as follows: | |
− | + | *<mets ID="DSpace_COLLECTION_123456789-6" OBJID="hdl:123456789/6" TYPE="DSpace COLLECTION" PROFILE="http://www.dspace.org/schema/aip/mets_aip_1_0.xsd" xsi:schemaLocation="http://www.loc.gov/METS/ http://www.loc.gov/standards/mets/mets.xsd"> | |
+ | *<metsHdr> | ||
[[Category:Development documentation]] | [[Category:Development documentation]] |
Revision as of 18:52, 8 September 2011
Main Page > Development > Development documentation > DSpace exports
This page analyzes the structure of DSpace exports from an uncustomized (i.e. out of the box) DSpace installation.
Item export
Collection export
Used the following command to export a two-item collection with the handle 123456789-6:
./dspace packager -d -a -t AIP -e <user name> -i 123456789-6 calamy.zip
This results in the export of three zipped packages: one for the collection and one for each of the items:
- calamy.zip
- ITEM@123456789-7.zip
- ITEM@123456789-8.zip
The extracted contents of each zipped file are shown in this screenshot:
Collection-level mets.xml file
The mets.xml file for the collection is structured as follows:
- <mets ID="DSpace_COLLECTION_123456789-6" OBJID="hdl:123456789/6" TYPE="DSpace COLLECTION" PROFILE="http://www.dspace.org/schema/aip/mets_aip_1_0.xsd" xsi:schemaLocation="http://www.loc.gov/METS/ http://www.loc.gov/standards/mets/mets.xsd">
- <metsHdr>