Commit 43de9a3e authored by Kim Mortimer's avatar Kim Mortimer
Browse files

Still complaining, mimicking another section

parent 62243fd8
......@@ -966,8 +966,13 @@
<xsl:for-each select="./gmi:citation/gmd:CI_Citation/gmd:date/gmd:CI_Date[gmd:date/*/text() != '' and
matches(gmd:date/*/text(), '[0-9]{4}.*')]">
<operationDateType><xsl:value-of select="string(gmd:dateType[1]/gmd:CI_DateTypeCode)"/></operationDateType>
<operationDate><xsl:value-of select="string(gmd:date[1]/gco:Date|gmd:date[1]/gco:DateTime)"/></operationDate>
<xsl:variable name="dateType"
select="gmd:dateType[1]/gmd:CI_DateTypeCode[text()]"
as="xs:string?"/>
<xsl:variable name="date"
select="string(gmd:date[1]/gco:Date|gmd:date[1]/gco:DateTime)"/>
<operationDateType><xsl:value-of select="$dateType"/></operationDateType>
<operationDate><xsl:value-of select="$date"/></operationDate>
</xsl:for-each>
<xsl:apply-templates mode="index-contact" select="gmi:citation/gmd:CI_Citation/gmd:citedResponsibleParty">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment