Subject: Re: Fwd: [xsl] i18n and l10n question From: David Carlisle <davidc@xxxxxxxxx> Date: Mon, 13 Nov 2006 15:36:11 GMT |
As I said before I originally assumed that you were using a "dictionary lookup" for your translations, which is why I introduced, a key but since you are not doing that you don't want a key at all, as you don't need to look anything up, all your translations are inline on each property. <xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:param name="locale"/> <xsl:template match="i18n"> <table> <tr> <xsl:for-each select="(node[starts-with($locale,@name)]/properties|properties)[last()]/entry"> <td><xsl:value-of select="."/></td> </xsl:for-each> </tr> </table> </xsl:template> </xsl:transform> > However, if there are two parameters, with caption n and r this > returns: it's much easier to debug things if you post source that matches the result that you post. David
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] i18n and l10n question, Michael Kay | Thread | Re: [xsl] i18n and l10n question, Florent Georges |
Re: [xsl] i18n and l10n question, Florent Georges | Date | Re: [xsl] i18n and l10n question, David Carlisle |
Month |