Good afternoon. 

I am having trouble adding the field `oaire.version` to the OAI. I see that 
DSpace does not add this OpenAIRE field by default, so I added the 
following configuration in 
`/dspace/dspace/config/crosswalks/oai/metadataFormats/oai_openaire.xsl:







*<xsl:template        
match="doc:element[@name='oaire']/doc:element[@name='version']"        
mode="oaire">        <oaire:version>            <xsl:value-of 
select="./doc:element/doc:field[@name='value']"/>        </oaire:version>  
  </xsl:template>*


Then, I performed a full OAI import by running `./dspace oai import -c`, 
but the field `oaire:version` still does not appear in the OAI.

I also tried reindexing Solr and restarting Tomcat, but it still doesn’t 
show up. 

Am I missing any other steps? Could you help me? Here is the test item in 
the OAI. I should mention that the item has the field `oaire.version` 
created in DSpace:

https://repositorio.deusto.es/server/oai/openaire4?verb=GetRecord&identifier=oai:repositorio.deusto.es:20.500.14454/1809&metadataPrefix=oai_openaire

Thank you very much.

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/dspace-tech/331cca06-490e-459f-bdea-d8451cb369b4n%40googlegroups.com.

Reply via email to