Stylesheet Details
- Identifiers
- Uuid
- 1ece16c0-202f-11e1-8bc2-0800200c9a66
- Owner
- richard.fozzard
- Update Information
- Last Updater
- richard.fozzard
- Last Updated
- 2011-12-06 00:00:00 UTC
- Date Created
- 2011-12-06 00:00:00 UTC
- Attributes
- 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="1ece16c0-202f-11e1-8bc2-0800200c9a66"> <!--xd:doc scope="stylesheet" xmlns:xd="http://www.oxygenxml.com/ns/doc/xsl"> <xd:desc> <xd:p>ISO DQ_DataQuality to Index_data string</xd:p> <xd:p>This stylesheet populates the component_xml.index_data field with a data quality string</xd:p> </xd:desc> </xd:doc--> <xsl:output method="text" /> <xsl:template match="/"> <xsl:variable name="name" select="/gmd:DQ_DataQuality/gmd:scope/gmd:DQ_Scope/gmd:levelDescription/gmd:MD_ScopeDescription/gmd:other/gco:CharacterString" /> <xsl:choose> <xsl:when test="$name[normalize-space(.) != '']"> <xsl:value-of select="$name" /> </xsl:when> <xsl:otherwise>unknown</xsl:otherwise> </xsl:choose> </xsl:template> </xsl:stylesheet>
- Stylesheet Type
- index_data
- Component Type
- {http://www.isotc211.org/2005/gmd}DQ_DataQuality
- Stylesheet Set
- NGDC-SS