Skip to content

Commit

Permalink
update namespaces for temporal extent in accordance with DCAT-AP.de 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jvanzadelhoff committed Jun 6, 2023
1 parent 42a0409 commit beeb7bb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/resources/iso2dcat.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -373,14 +373,14 @@
<dct:temporal>
<dct:PeriodOfTime>
<xsl:if test="./gmd:EX_TemporalExtent/gmd:extent/*:TimePeriod/*:beginPosition">
<schema:startDate rdf:datatype="http:https://www.w3.org/2001/XMLSchema#dateTime">
<dct:startDate rdf:datatype="http:https://www.w3.org/2001/XMLSchema#dateTime">
<xsl:value-of select="./gmd:EX_TemporalExtent/gmd:extent/*:TimePeriod/*:beginPosition"/>
</schema:startDate>
</dct:startDate>
</xsl:if>
<xsl:if test="./gmd:EX_TemporalExtent/gmd:extent/*:TimePeriod/*:endPosition">
<schema:endDate rdf:datatype="http:https://www.w3.org/2001/XMLSchema#dateTime">
<dct:endDate rdf:datatype="http:https://www.w3.org/2001/XMLSchema#dateTime">
<xsl:value-of select="./gmd:EX_TemporalExtent/gmd:extent/*:TimePeriod/*:endPosition"/>
</schema:endDate>
</dct:endDate>
</xsl:if>
</dct:PeriodOfTime>
</dct:temporal>
Expand Down

0 comments on commit beeb7bb

Please sign in to comment.