Commit 62243fd8 authored by Kim Mortimer's avatar Kim Mortimer
Browse files

not sure why, but dateType says invalid format

parent 24d186ec
......@@ -966,7 +966,7 @@
<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="gmd:dateType[1]/gmd:CI_DateTypeCode[text()]"/></operationDateType>
<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:for-each>
......
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