[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: i18n and l10n question

Subject: Re: i18n and l10n question
From: Nicolas Van Cleemput <nicolas.vancleemput@xxxxxxxx>
Date: Tue, 07 Nov 2006 13:53:04 +0100
nicolas van cleemput
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

OK, this works now, but how can I change it so I only look it up once? I can't use the

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.