Stylesheet Details
- Identifiers
- Brief
- ISO CI_ResponsibleParty to Brief View
- Uuid
- 6ac46a40-bc69-11e0-962b-0800200c9a66
- Owner
- richard.fozzard
- Update Information
- Last Updater
- amilan
- Last Updated
- 2017-09-18 15:02:22 UTC
- Date Created
- 2011-12-06 00:00:00 UTC
- Attributes
- Index Data
- ISO CI_ResponsibleParty to Brief View 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="6ac46a40-bc69-11e0-962b-0800200c9a66"> <xsl:output method="text"/> <xsl:template name="Documentation"> <xsl:text>ISO CI_ResponsibleParty to Brief View</xsl:text> </xsl:template> <xsl:output method="text" indent="no"/> <xsl:template match="/"> <xsl:variable name="name" select="normalize-space(/gmd:CI_ResponsibleParty/gmd:individualName)"/> <xsl:variable name="org" select="normalize-space(/gmd:CI_ResponsibleParty/gmd:organisationName)"/> <xsl:variable name="position" select="normalize-space(/gmd:CI_ResponsibleParty/gmd:positionName)"/> <xsl:variable name="url" select="normalize-space(/gmd:CI_ResponsibleParty/gmd:contactInfo/gmd:CI_Contact/gmd:onlineResource/gmd:CI_OnlineResource/gmd:linkage/gmd:URL)"/> <xsl:variable name="role" select="normalize-space(/gmd:CI_ResponsibleParty/gmd:role/gmd:CI_RoleCode)"/> <xsl:choose> <xsl:when test="$name"> <xsl:value-of select="$name"/> <xsl:if test="$role"> <xsl:text> (</xsl:text> <xsl:value-of select="$role"/> <xsl:text>)</xsl:text> </xsl:if> </xsl:when> <xsl:when test="$position"> <xsl:value-of select="$position"/> <xsl:if test="$role"> <xsl:text> (</xsl:text> <xsl:value-of select="$role"/> <xsl:text>)</xsl:text> </xsl:if> </xsl:when> <xsl:when test="$org"> <xsl:value-of select="$org"/> <xsl:if test="$role"> <xsl:text> (</xsl:text> <xsl:value-of select="$role"/> <xsl:text>)</xsl:text> </xsl:if> </xsl:when> <xsl:when test="$url"> <xsl:value-of select="$url"/> <xsl:if test="$role"> <xsl:text> (</xsl:text> <xsl:value-of select="$role"/> <xsl:text>)</xsl:text> </xsl:if> </xsl:when> <xsl:when test="$role"> <xsl:if test="$role"> <xsl:text> (</xsl:text> <xsl:value-of select="$role"/> <xsl:text>)</xsl:text> </xsl:if> </xsl:when> <xsl:otherwise> <xsl:value-of select="'unknown'"/> </xsl:otherwise> </xsl:choose> </xsl:template> </xsl:stylesheet>
- Stylesheet Type
- brief
- Component Type
- {http://www.isotc211.org/2005/gmd}CI_ResponsibleParty
- Stylesheet Set
- NGDC-SS