On Mon, Aug 20, 2012 at 11:12 AM, Jacob Andersson
<[email protected]> wrote:
> Hi,
>
> Ivan, could you please show me an example of an XOAI XSLT-transformation that
> changes the contents of the XML-output's item-header? I haven't been able to
> figure it out, looking at the XOAI addon files (which is now installed on out
> test server).
>
> Thanks,
>
> Jacob
Please, always keep dspace-tech in CC.
The relevant XSLT files are in
[dspace]/config/modules/oai/metadataFormats (the directory is "xoai"
in case of the addon). Don't change the standard formats, create a new
one instead (by copying one of the formats and using it as a
template).
Important: when you change the XSLT file, the change won't show up
because of caching. You have to clear the cache ("[dspace]/bin/dspace
oai clean-cache" resp. "[dspace]/bin/dspace xoai clean-cache") after
every change. This has been reported and will be fixed in a later
version [1].
[1] https://github.com/lyncode/DSpace/issues/35
Regards,
~~helix84
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech