Skip to content

Commit

Permalink
MW / DCAT / Service in dataset distribution / Take first link without…
Browse files Browse the repository at this point in the history
… function info or dq report.
  • Loading branch information
fxprunayre committed Jan 31, 2025
1 parent f2d1677 commit 41df4b0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,9 @@
</dcat:servesDataset>
</xsl:when>
<xsl:when test="local-name() = 'services'">

<xsl:variable name="mainLink"
select="root/link[1]"/>
select="(root/link[not(function = ('information', 'dataQualityReport'))])[1]"/>

<xsl:variable name="serviceUri"
select="if (root/resourceIdentifier) then concat(root/resourceIdentifier[1]/codeSpace, root/resourceIdentifier[1]/code) else ." />
Expand Down

0 comments on commit 41df4b0

Please sign in to comment.