Subject: Re: [xsl] i18n and l10n question From: David Carlisle <davidc@xxxxxxxxx> Date: Tue, 7 Nov 2006 10:20:08 GMT |
> The desired result would be a simple html-file that contained one > title But you do <xsl:for-each select="//entry"> so you select both entry elements, and in each case you look up (back in the same file) language replacements, ignoring the text that's there. If you get 4 results there's an error in the key lookup. <xsl:key name="l" match="entry" use="concat(../@name,' ',@key)"/> on the entry .. is properties and properties doesnt have a name attribute, you want ../../@name (you can blame me:-) If you change to ../ then you just get one for each lookup $ saxon factory.xml factory.xsl locale=de <html> <body> <h1>Turán GraphTurán Graph</h1> </body> </html> davidc@souldern /c/tmp $ saxon factory.xml factory.xsl locale=nl <html> <body> <h1>Turán GraafTurán Graaf</h1> </body> </html> David
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] i18n and l10n question, Nicolas Van Cleemput | Thread | Re: [xsl] i18n and l10n question, Nicolas Van Cleemput |
Re: [xsl] i18n and l10n question, Nicolas Van Cleemput | Date | [xsl] How to define a custom collat, Wolfgang Schindler |
Month |