Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Contexts
  • Transformers
  • Metadata Formats
  • Filters
  • Sets

It's a an XML file commonly located at: ${dspace.dir}[dspace]/config/modules/oai/xoai.xml

Add/Remove Metadata Formats

Each context could have it's its own metadata formats. So to add/remove metadata formats to/from it, just need add/remove it's its reference within xoai.xml, for example, imagine one need to remove the XOAI schema from:

...

It is also possible to create new metadata format by creating a specific XSLT for it. All already defined XSLT for DSpace could can be found within directory ${dspace.dir}in the [dspace]/config/modules/oai/metadataFormats directory. So after producing a new one, in ${dspace.dir}add the following information (location marked using brackets) inside the <Formats> element in [dspace]/config/modules/oai/xoai.xml* add* *inside element <Formats>  the following information:

Code Block
<Format id="[IDENTIFIER]">
  <Prefix>[PREFIX]</Prefix>
  <XSLT>metadataFormats/[XSLT]</XSLT>
  <Namespace>[NAMESPACE]</Namespace>
  <SchemaLocation>[SCHEMA_LOCATION]</SchemaLocation>
</Format>

...