To continue to advance the DSpace, Fedora and VIVO projects, your institution’s financial support is critical. Please talk to your leadership about joining DuraSpace as a member! Visit: to learn more.

Unsupported Release

This documentation relates to DSpace 1.8.x, an old, unsupported version. Looking for another version? See all documentation.

As of January 2015, DSpace 1.8.x is no longer supported. We recommend upgrading to a more recent version of DSpace. See DSpace Software Support Policy.

Skip to end of metadata
Go to start of metadata

Community and Collection Structure Importer

This Command-Line tool gives you the ability to import a community and collection structure directory from a source XML file.


Command used:

[dspace]/bin/dspace structure-builder

Java class:


Argument: short and long (if available) forms:

Description of the argument


Source xml file.


Output xml file.


Email of DSpace Administrator.

XML Import Format

The administrator need to build the source xml document in the following format:

The resulting output document will be as follows:

This command-line tool gives you the ability to import a community and collection structure directly from a source XML file. It is executed as follows:

This will examine the contents of source.xml, import the structure into DSpace while logged in as the supplied administrator, and then output the same structure to the output file, but including the handle for each imported community and collection as an attribute.


  • Currently this does not export community and collection structures, although it should only be a small modification to make it do so
  • No labels