On Thu, Aug 1, 2013 at 5:06 PM, kotsomit <[email protected]>
wrote:
> However, what is the basis schema for this metadata? As far as I have seen
> it is a proprietary schema by Lyncode called “xoai”.
Hi Dimitrios,
"xoai| is just an internal format. You can see any record in this format,
though, if you use metadataPrefix=xoai in your OAI URL.
> More importantly, is
> there any simple way (or any way at all) to configure this xoai output? A
> good reason for this would be to enable proper output of dc qualifiers,
> language tags as attributes instead of nested elements and so on?
It's quite simple, really. Here's the file you would change (if you need,
but you most likely don't):
https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace/config/crosswalks/oai/metadataFormats/qdc.xsl
For example, in the old QDC.properties you had:
dc.language.iso = <dc:language
type="dcterms:ISO639-2" />
In the new mapping file, you have this:
<xsl:for-each
select="doc:metadata/doc:element[@name='dc']/doc:element[@name='language']/doc:element/doc:element/doc:field[@name='value']">
<dc:language xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://purl.org/dc/terms/
http://dublincore.org/schemas/xmls/qdc/2006/01/06/dcterms.xsd
http://purl.org/dc/elements/1.1/
http://dublincore.org/schemas/xmls/qdc/2006/01/06/dc.xsd">
<xsl:value-of select="." />
</dc:language>
</xsl:for-each>
It may look scary at first, but the only two things that matter here are
doc:metadata/doc:element[@name='dc']/doc:element[@name='language']/doc:element/doc:element/doc:field[@name='value']
and
<dc:language
</dc:language>
You don't need to touch the rest, just copy it. You should see the pattern
here.
> If not, is it possible to still use the existing crosswalks for OAI
output?
No, those are not used anymore and have been removed.
Regards,
~~helix84
Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&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