1
0
Fork 0

fixed an identifier xpath

This commit is contained in:
Michele Artini 2024-03-22 11:08:45 +01:00
parent cb29b9773c
commit f9c74c98fa
2 changed files with 4 additions and 3 deletions

View File

@ -340,7 +340,7 @@ base_dc:link (I used dc:identifier)
<oaf:identifier identifierType="oai-original"> <oaf:identifier identifierType="oai-original">
<xsl:value-of <xsl:value-of
select="//*[local-name() = 'about']/*[local-name() = 'provenance']//*[local-name() = 'originDescription' and not(./*[local-name() = 'originDescription'])]/*[local-name() = 'identifier']" /> select="//oai:header/oai:identifier" />
</oaf:identifier> </oaf:identifier>
<oaf:hostedBy> <oaf:hostedBy>

View File

@ -82,8 +82,9 @@
<datacite:identifier alternateIdentifierType="oai-original"> <datacite:identifier alternateIdentifierType="oai-original">
<xsl:value-of <xsl:value-of
select="//*[local-name() = 'about']/*[local-name() = 'provenance']//*[local-name() = 'originDescription' and not(./*[local-name() = 'originDescription'])]/*[local-name() = 'identifier']" /> select="//oai:header/oai:identifier" />
</datacite:identifier> </datacite:identifier>
</datacite:alternateIdentifiers> </datacite:alternateIdentifiers>
<datacite:relatedIdentifiers /> <datacite:relatedIdentifiers />
@ -374,7 +375,7 @@
<oaf:identifier identifierType="oai-original"> <oaf:identifier identifierType="oai-original">
<xsl:value-of <xsl:value-of
select="//*[local-name() = 'about']/*[local-name() = 'provenance']//*[local-name() = 'originDescription' and not(./*[local-name() = 'originDescription'])]/*[local-name() = 'identifier']" /> select="//oai:header/oai:identifier" />
</oaf:identifier> </oaf:identifier>
<oaf:hostedBy> <oaf:hostedBy>