Good morning,
I finally managed to load the "oaire.version" field and make it visible in the OAI.
It seems I had created the template:
<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>
but it was missing the application of that template with the following configuration:
<xsl:apply-templates
select="doc:metadata/doc:element[@name='oaire']/doc:element[@name='version']"
mode="oaire"/>
Finally, I restarted Tomcat, cleared OAI cache and perform a complete OAI import, and now the field oaire:version is visible in the OAI:
systemctl
restart tomcat
./dspace
oai clean-cache
./dspace
oai import -c
I hope this helps someone. Best regards.