Skip to content

Commit

Permalink
Update dcat-core-dataservice.xsl
Browse files Browse the repository at this point in the history
  • Loading branch information
fxprunayre authored Dec 11, 2024
1 parent 744fa43 commit 1943606
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
Filter to define which service operation has to be considered
as an endpoint URL or description depending on linkage and protocol.
-->
<xsl:param name="endpointDescriptionUrllExpression"
<xsl:param name="endpointDescriptionUrlExpression"
as="xs:string"
select="'GetCapabilities|WSDL'"/>
<xsl:param name="endpointDescriptionProtocolsExpression"
Expand All @@ -31,7 +31,7 @@
<xsl:template mode="iso19115-3-to-dcat"
match="srv:containsOperations/*/srv:connectPoint/*[not(
matches(cit:protocol/(gco:CharacterString|gcx:Anchor)/text(), $endpointDescriptionProtocolsExpression, 'i')
or matches(cit:linkage/(gco:CharacterString|gcx:Anchor)/text(), $endpointDescriptionUrllExpression, 'i'))]/cit:linkage">
or matches(cit:linkage/(gco:CharacterString|gcx:Anchor)/text(), $endpointDescriptionUrlExpression, 'i'))]/cit:linkage">

<dcat:endpointURL rdf:resource="{normalize-space((gco:CharacterString|gcx:Anchor)/text())}"/>
</xsl:template>
Expand All @@ -54,7 +54,7 @@
<xsl:template mode="iso19115-3-to-dcat"
match="srv:containsOperations/*/srv:connectPoint/*[
matches(cit:protocol/(gco:CharacterString|gcx:Anchor)/text(), $endpointDescriptionProtocolsExpression, 'i')
or matches(cit:linkage/(gco:CharacterString|gcx:Anchor)/text(), $endpointDescriptionUrllExpression, 'i')]/cit:linkage">
or matches(cit:linkage/(gco:CharacterString|gcx:Anchor)/text(), $endpointDescriptionUrlExpression, 'i')]/cit:linkage">
<dcat:endpointDescription rdf:resource="{normalize-space((gco:CharacterString|gcx:Anchor)/text())}"/>
</xsl:template>

Expand Down

0 comments on commit 1943606

Please sign in to comment.