Re: [Dspace-tech] OAI output item header

2012-08-20 Thread helix84
On Mon, Aug 20, 2012 at 11:12 AM, Jacob Andersson jacob.anders...@mah.se 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

Re: [Dspace-tech] OAI output item header

2012-08-20 Thread Jacob Andersson
Hi, Thanks. I've looked at all the included files in both the metadataFormats and transformers folders, but I can't find any code that changes the item header. The XSLT-files in the metadataFormats folder make no mention of the item header, so I'm assuming it is generated elsewhere? Yours,

Re: [Dspace-tech] OAI output item header

2012-08-20 Thread helix84
On Mon, Aug 20, 2012 at 12:22 PM, Jacob Andersson jacob.anders...@mah.se wrote: Thanks. I've looked at all the included files in both the metadataFormats and transformers folders, but I can't find any code that changes the item header. The XSLT-files in the metadataFormats folder make no

Re: [Dspace-tech] OAI output item header

2012-08-20 Thread DSpace @ Lyncode
Hi Jacob, in order to have control over the list of sets you will need to override the default XOAI behaviour. https://github.com/lyncode/xoai/blob/master/src/main/java/com/lyncode/xoai/dataprovider/data/AbstractItemIdentifier.java I think you need a virtual set, listed on top the the list. So

Re: [Dspace-tech] OAI output item header

2012-08-14 Thread helix84
Hi Jacob, the header generation is buried in the OAICat library [1] which DSpace uses for this. It's not a simple XSLT transformation there, you would need to modify some Java code of OAICat, rebuild OAICat, update the oaicat dependency in DSpace and rebuild DSpace. However, there's now OAI 2.0