[XSL-LIST Mailing List Archive Home]
[Reply To This Message]
Re: i18n and l10n question
But you do
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
(you can blame me:-) If you change to ../ then you just get one for each
OK, this works now, but how can I change it so I only look it up once? I can't
use the <xsl:for-each select="document('locale.xml')"> from your original mail
because the info is in the xml-file I'm transforming.
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format