[Dspace-general] Problem ingesting content through LNI

Ricardo Borillo Ricardo.Borillo at si.uji.es
Wed Oct 15 05:15:14 EDT 2008


Hi,

I'm using LNIclient issued by Larry Stone:

http://sourceforge.net/mailarchive/message.php?msg_id=CMM.0.90.4.1214374446.lcs%40crufthenge.mit.edu

I'm generating a SIP Package with metadata encoded in MODS format.

This is the MODS metadata generated for a simple package:

<?xml version="1.0" encoding="UTF-8"?>
<mods:mods xmlns:mods="http://www.loc.gov/mods/v3"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.loc.gov/mods/v3
http://www.loc.gov/standards/mods/v3/mods-3-0.xsd" version="3.0">
  <mods:name>
    <mods:namePart>Perico</mods:namePart>
    <mods:role>
      <mods:roleTerm type="text">author</mods:roleTerm>
    </mods:role>
  </mods:name>
  <mods:accessCondition type="useAndReproducation">Todos</mods:accessCondition>
  <mods:titleInfo>
    <mods:title>Test</mods:title>
  </mods:titleInfo>
</mods:mods>

I complete the ingestion without problems, but some metadata is not
recorded (mods:accessCondition for example, equivalent in Dublin Core
to dc.rights).

I try to modify $DSPACE_HOME/config/crosswalks/mods-submission.xsl,
and i have added a new template to manage this metadatada item with no
success:

       <xsl:template
match="*[local-name()='accessCondition'][@type='useAndReproducation']">
                <xsl:element name="dim:field">
                        <xsl:attribute name="mdschema">dc</xsl:attribute>
                        <xsl:attribute name="element">rights</xsl:attribute>
                        <xsl:attribute name="lang">en_US</xsl:attribute>
                        <xsl:value-of select="normalize-space(.)"/>
                </xsl:element>
        </xsl:template>

I'm sure that i'm missing something .... Please, how can i manage this
MODS metadata attributes?

Thanks a lot

---
Salut,
====================================
Ricardo Borillo Domenech
http://xml-utils.com



More information about the Dspace-general mailing list