Hi Lehtilä,
sorry I'm not answering your question directly. Let me suggest an
alternative. There is a new, completely rewritten OAI webapp in DSpace 3.x,
which means when you upgrade, you'll lose these changes to the old webapp
anyway. This new webapp is also available as an addon for DSpace 1.8.x,
which you're running. You can download the addon here:
http://www.lyncode.com/dspace/addons/xoai/
In this new OAI, it's very easy to do such change by simply changing an XSL
template:
https://github.com/DSpace/DSpace/blob/dspace-3.2/dspace/config/crosswalks/oai/metadataFormats/qdc.xsl
(In the 1.8 version of XOAI, it's in a different location but it works the
same.)
Just add the top level element you want under line 21 of that stylesheet.
Here's an example how QDC metadata looks in this new OAI interface:
http://demo.dspace.org/oai/request?verb=GetRecord&metadataPrefix=qdc&identifier=oai:demo.dspace.org:10673/4
Here's more information about the new OAI webapp:
https://wiki.duraspace.org/display/DSDOC3x/OAI+2.0+Server
Regards,
~~helix84
Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette