Commit 7f75e78a authored by Kim Mortimer's avatar Kim Mortimer
Browse files

Rename citation element to avoid confusion

parent 1142f3b7
...@@ -147,11 +147,11 @@ ...@@ -147,11 +147,11 @@
<!-- MERIDIAN edit - this field will be used instead for holding an APA style citation. <!-- MERIDIAN edit - this field will be used instead for holding an APA style citation.
To reduce the risk that our Discovery layer reads in 'citations' from things that are not actually citations, To reduce the risk that our Discovery layer reads in 'citations' from things that are not actually citations,
I use a check for a controlled leading string that would be unlikely to be present in other records. --> I use a check for a controlled leading string that would be unlikely to be present in other records. -->
<document> <citation>
<xsl:if test="./gmd:identificationInfo/MER:MD_DataIdentification/gmd:citation/gmd:CI_Citation/gmd:otherCitationDetails/gco:CharacterString[starts-with(text(),'MERIDIAN-CITE-AS: ')]"> <xsl:if test="./gmd:identificationInfo/MER:MD_DataIdentification/gmd:citation/gmd:CI_Citation/gmd:otherCitationDetails/gco:CharacterString[starts-with(text(),'MERIDIAN-CITE-AS: ')]">
<xsl:value-of select="substring-after(./gmd:identificationInfo/MER:MD_DataIdentification/gmd:citation/gmd:CI_Citation/gmd:otherCitationDetails/gco:CharacterString, ':')"/> <xsl:value-of select="substring-after(./gmd:identificationInfo/MER:MD_DataIdentification/gmd:citation/gmd:CI_Citation/gmd:otherCitationDetails/gco:CharacterString, ':')"/>
</xsl:if> </xsl:if>
</document> </citation>
<uuid> <uuid>
<xsl:value-of select="$identifier"/> <xsl:value-of select="$identifier"/>
</uuid> </uuid>
......
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