Stylesheet Details
  • Identifiers
  • Uuid
  • a13cc100-1f9f-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" xmlns:gml="http://www.opengis.net/gml" xmlns:gts="http://www.isotc211.org/2005/gts" xmlns:gmi="http://www.isotc211.org/2005/gmi" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.0" id="a13cc100-1f9f-11e1-8bc2-0800200c9a66"> <!--xd:doc scope="stylesheet" xmlns:xd="http://www.oxygenxml.com/ns/doc/xsl"> <xd:desc> <xd:p>ISO MD_AggregateInformation to Brief View</xd:p> <xd:p>This stylesheet populates the component_xml.index_data field for an ISO MD_AggregateInformation component</xd:p> </xd:desc> </xd:doc--> <xsl:output method="text" /> <xsl:template match="/"> <xsl:variable name="citname" select="/gmd:MD_AggregateInformation/gmd:aggregateDataSetName/gmd:CI_Citation/gmd:title/gco:CharacterString" /> <xsl:variable name="autname" select="/gmd:MD_AggregateInformation/gmd:aggregateDataSetIdentifier/gmd:MD_Identifier/gmd:authority/gmd:CI_Citation/gmd:title/gco:CharacterString" /> <xsl:choose> <xsl:when test="$citname[normalize-space(.) != '']"> <xsl:value-of select="$citname" /> </xsl:when> <xsl:when test="$autname[normalize-space(.) != '']"> <xsl:value-of select="$autname" /> </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_AggregateInformation
  • Stylesheet Set
  • NGDC-SS