[Yanel-commits] rev 23629 - public/yanel/trunk/src/webapp/xslt
michi at wyona.com
michi at wyona.com
Mon Apr 9 10:57:23 CEST 2007
Author: michi
Date: 2007-04-09 10:57:22 +0200 (Mon, 09 Apr 2007)
New Revision: 23629
Modified:
public/yanel/trunk/src/webapp/xslt/xmlInfo2xhtml.xsl
Log:
display translations
Modified: public/yanel/trunk/src/webapp/xslt/xmlInfo2xhtml.xsl
===================================================================
--- public/yanel/trunk/src/webapp/xslt/xmlInfo2xhtml.xsl 2007-04-09 08:55:37 UTC (rev 23628)
+++ public/yanel/trunk/src/webapp/xslt/xmlInfo2xhtml.xsl 2007-04-09 08:57:22 UTC (rev 23629)
@@ -188,7 +188,18 @@
</table>
</li>
</xsl:template>
-
+
+ <xsl:template match="translations">
+ <li>Translations:
+ <xsl:apply-templates/>
+ </li>
+ </xsl:template>
+
+ <xsl:template match="translation">
+ <a href="{$yanel.back2realm}{@path}"><xsl:value-of select="@language"/></a>
+ <xsl:if test="position() != last()">, </xsl:if>
+ </xsl:template>
+
<!-- OBSOLETE
<xsl:template match="no-resource-type-identifier">
<p>
More information about the Yanel-commits
mailing list