Stylesheet Details
  • Identifiers
  • Uuid
  • ebe6bbf0-bc69-11e0-962b-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:srv:SV_ServiceIdentification ,
  • 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:srv="http://www.isotc211.org/2005/srv" version="1.0" id="ebe6bbf0-bc69-11e0-962b-0800200c9a66"> <!--xd:doc scope="stylesheet" xmlns:xd="http://www.oxygenxml.com/ns/doc/xsl"> <xd:desc> <xd:p>ISO SV_ServiceIdentification to Index Data View</xd:p> <xd:p>This stylesheet generates an Index Data View for an ISO SV_ServiceIdentification component</xd:p> </xd:desc> </xd:doc--> <xsl:output method="text" /> <xsl:template match="srv:SV_ServiceIdentification"> <xsl:variable name="title" select="gmd:citation/gmd:CI_Citation/gmd:title/gco:CharacterString" /> <xsl:variable name="type" select="srv:serviceType/gco:LocalName" /> <xsl:choose> <xsl:when test="$type"> <xsl:value-of select="$type" /> </xsl:when> <xsl:when test="$title"> <xsl:value-of select="$title" /> </xsl:when> <xsl:otherwise>service not specified</xsl:otherwise> </xsl:choose> </xsl:template> </xsl:stylesheet>
  • Stylesheet Type
  • index_data
  • Component Type
  • {http://www.isotc211.org/2005/srv}SV_ServiceIdentification
  • Stylesheet Set
  • NGDC-SS