Skip to content

Commit

Permalink
fix: cmd envelope namespace added to collection display name header e…
Browse files Browse the repository at this point in the history
…lement. refs #16
  • Loading branch information
twagoo committed Jan 6, 2025
1 parent 04f3507 commit 77d6f87
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions datacite-cmdi/datacite_to_cmdi-common.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,9 @@
<xsl:template name="collectionDisplayName">
<xsl:param name="collection_name" select="''"/>
<xsl:if test="normalize-space($collection_name)!=''">
<MdCollectionDisplayName>
<cmd:MdCollectionDisplayName>
<xsl:value-of select="$collection_name"/>
</MdCollectionDisplayName>
</cmd:MdCollectionDisplayName>
</xsl:if>
</xsl:template>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
xsi:schemaLocation="http://www.clarin.eu/cmd/1 https://catalog.clarin.eu/ds/ComponentRegistry/rest/registry/1.x/profiles/clarin.eu:cr1:p_1610707853541/xsd">
<cmd:Header>
<cmd:MdProfile>clarin.eu:cr1:p_1610707853541</cmd:MdProfile>
<MdCollectionDisplayName>test collection name</MdCollectionDisplayName>
<cmd:MdCollectionDisplayName>test collection name</cmd:MdCollectionDisplayName>
</cmd:Header>
<cmd:Resources>
<cmd:ResourceProxyList>
Expand Down

0 comments on commit 77d6f87

Please sign in to comment.