为MODS DSpace 4.2设置XSLT摄取交叉路径

时间:2015-07-22 17:37:31

标签: dspace

我是DSpace的新手,我想为MODS设置一个摄取人行横道。最后,我试图以MODS格式收集带有元数据记录的OAI源。我按照https://wiki.duraspace.org/display/DSPACE/XsltCrosswalk的说明进行操作,但我现在卡住了。

当我跑步时:" sudo ./dspace dsrun org.dspace.content.crosswalk.XSLTIngestionCrosswalk mods /home/dhenry/mods_example.xml"

我收到以下错误: "错误,找不到IngestionCrosswalk插件:" mods""

以下是dspace.cfg的相关行:

 # Configure table-driven MODS dissemination crosswalk
    #  (add lower-case name for OAI-PMH)
    crosswalk.mods.properties.MODS = crosswalks/mods.properties
    crosswalk.mods.properties.mods = crosswalks/mods.properties

    # Configure XSLT-driven submission crosswalk for MODS
    crosswalk.submission.MODS.stylesheet= crosswalks/mods-submission.xsl

...

   # Crosswalk Plugin Configuration:
    #   The purpose of Crosswalks is to translate an external metadata format   
    #   the DSpace Internal Metadata format (DIM) or the DSpace Database.
    #   Crosswalks are often used by one or more Packager plugins (see below).
    plugin.named.org.dspace.content.crosswalk.IngestionCrosswalk = \
      org.dspace.content.crosswalk.AIPDIMCrosswalk = DIM, \
      org.dspace.content.crosswalk.AIPTechMDCrosswalk = AIP-TECHMD, \
      org.dspace.content.crosswalk.PREMISCrosswalk = PREMIS, \
      org.dspace.content.crosswalk.OREIngestionCrosswalk = ore, \
      org.dspace.content.crosswalk.NullIngestionCrosswalk = NIL, \
      org.dspace.content.crosswalk.OAIDCIngestionCrosswalk = dc, \
      org.dspace.content.crosswalk.DIMIngestionCrosswalk = dim, \
      org.dspace.content.crosswalk.METSRightsCrosswalk = METSRIGHTS, \
      org.dspace.content.crosswalk.RoleCrosswalk = DSPACE-ROLES, \
      org.dspace.content.crosswalk.ModsCrosswalk = MODS

    plugin.selfnamed.org.dspace.content.crosswalk.IngestionCrosswalk = \
      org.dspace.content.crosswalk.XSLTIngestionCrosswalk, \
      org.dspace.content.crosswalk.QDCCrosswalk

任何帮助都将不胜感激。

1 个答案:

答案 0 :(得分:0)

尝试改变 crosswalk.submission.MODS.stylesheet = crosswalks / mods-submission.xsl 至 crosswalk.submission.mods.stylesheet = crosswalks / mods-submission.xsl 和  org.dspace.content.crosswalk.ModsCrosswalk = MODS 至  org.dspace.content.crosswalk.ModsCrosswalk = mods