Project

General

Profile

1
<?xml version="1.0"?>
2
<xsl:stylesheet xmlns:wmc="http://www.opengis.net/context" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"><xsl:output method="xml" encoding="utf-8" omit-xml-declaration="yes"/><xsl:param name="lang">en</xsl:param><xsl:template match="/wmc:ViewContext/wmc:General | /wmc:OWSContext/wmc:General "><span><xsl:choose><xsl:when test="wmc:Title/@xml:lang"><xsl:value-of select="wmc:Title[@xml:lang=$lang]"/></xsl:when><xsl:otherwise><xsl:value-of select="wmc:Title"/></xsl:otherwise></xsl:choose></span></xsl:template><xsl:template match="text()|@*"/></xsl:stylesheet>
(83-83/145)