Skip to content

Commit

Permalink
WIP - only add links not already present.
Browse files Browse the repository at this point in the history
  • Loading branch information
GeryNi committed Dec 23, 2024
1 parent f592c84 commit 2aaa745
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
<xsl:template match="atom:link">
<xsl:param name="distribution"></xsl:param>
<xsl:variable name="currentHref" select="@href"/>
<!-- TODO : Verify link (online/resource) not already present in distribution-->
<!-- Verify link is not already present in distribution-->
<xsl:choose>
<xsl:when test="count($distribution/mrd:transferOptions/mrd:MD_DigitalTransferOptions/mrd:onLine/cit:CI_OnlineResource/cit:linkage/gco:CharacterString[text() = $currentHref])>0">
<!-- <xsl:message><xsl:text>link already present ignored: </xsl:text> <xsl:value-of select="$currentHref"/> </xsl:message>-->
Expand Down

0 comments on commit 2aaa745

Please sign in to comment.