Stylesheet Details
  • Identifiers
  • Brief
  • ISO MD_CoverageDescription to Index Data
  • Uuid
  • a5bdef00-2031-11e1-8bc2-0800200c9a66
  • Owner
  • richard.fozzard
  • Update Information
  • Last Updater
  • ken.tanaka
  • Last Updated
  • 2012-03-22 16:34:33 UTC
  • Date Created
  • 2011-12-06 00:00:00 UTC
  • Attributes
  • Index Data
  • ISO MD_CoverageDescription to Index Data Matches: ,/ ,
  • Xml
  • <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:gmd="http://www.isotc211.org/2005/gmd" version="1.0" id="a5bdef00-2031-11e1-8bc2-0800200c9a66"> <xsl:template name="Documentation"> <xsl:text>ISO MD_CoverageDescription to Index Data</xsl:text> </xsl:template> <!--xd:doc scope="stylesheet" xmlns:xd="http://www.oxygenxml.com/ns/doc/xsl"> <xd:desc> <xd:p>ISO MD_CoverageDescription to Index string</xd:p> <xd:p>This stylesheet populates the component_xml.index_data field with an index string for MD_CoverageDescription components</xd:p> </xd:desc> </xd:doc--> <xsl:output method="text" /> <xsl:template match="/"> <xsl:variable name="code" select="/gmd:MD_CoverageDescription/gmd:contentType/gmd:MD_CoverageContentTypeCode/@codeListValue" /> <xsl:choose> <xsl:when test="$code"> <xsl:value-of select="normalize-space($code)" /> </xsl:when> <xsl:otherwise> <xsl:value-of select="'unknown'" /> </xsl:otherwise> </xsl:choose> </xsl:template> </xsl:stylesheet>
  • Stylesheet Type
  • index_data
  • Component Type
  • {http://www.isotc211.org/2005/gmd}MD_CoverageDescription
  • Stylesheet Set
  • NGDC-SS