Lines 347-355
Link Here
|
347 |
<span class="label"><xsl:value-of select="$langLabel"/></span> |
347 |
<span class="label"><xsl:value-of select="$langLabel"/></span> |
348 |
<xsl:for-each select="$langNode"> |
348 |
<xsl:for-each select="$langNode"> |
349 |
<span> |
349 |
<span> |
350 |
<xsl:attribute name="class">lang_code-<xsl:value-of select="substring(translate(., ' .-;|#', '_'),1,3)"/></xsl:attribute> |
350 |
<xsl:attribute name="class">lang_code-<xsl:value-of select="translate(., ' .-;|#', '_')"/></xsl:attribute> |
351 |
<xsl:call-template name="languageCodeText"> |
351 |
<xsl:call-template name="languageCodeText"> |
352 |
<xsl:with-param name="code" select="substring(.,1,3)"/> |
352 |
<xsl:with-param name="code" select="translate(., ' .-;|#', '')"/> |
353 |
</xsl:call-template> |
353 |
</xsl:call-template> |
354 |
<xsl:if test="position() != last()"> |
354 |
<xsl:if test="position() != last()"> |
355 |
<span class="separator"><xsl:text>, </xsl:text></span> |
355 |
<span class="separator"><xsl:text>, </xsl:text></span> |