Stylesheet Details
- Identifiers
- Uuid
- fa7cdd70-bc69-11e0-962b-0800200c9a66
- Owner
- richard.fozzard
- Update Information
- Last Updater
- amilan
- Last Updated
- 2015-03-19 15:04:58 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" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.0" id="fa7cdd70-bc69-11e0-962b-0800200c9a66"> <!--xd:doc scope="stylesheet" xmlns:xd="http://www.oxygenxml.com/ns/doc/xsl"> <xd:desc> <xd:p>ISO MD_Keywords to Index Data View</xd:p> <xd:p>This stylesheet generates an Index Data View for an ISO MD_Keywords component</xd:p> </xd:desc> </xd:doc--> <xsl:output method="text" /> <xsl:template match="/"> <xsl:variable name="code" select="gmd:MD_Keywords/gmd:type/gmd:MD_KeywordTypeCode"/> <xsl:variable name="tm" select="gmd:MD_Keywords/gmd:thesaurusName/gmd:CI_Citation/gmd:title/gco:CharacterString"/> <xsl:choose> <xsl:when test="$tm|$code"><xsl:value-of select="$tm" /> <xsl:value-of select="concat(' - ', $code)" /></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}MD_Keywords
- Stylesheet Set
- NGDC-SS