ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> xsl-list
xsl-list
Re: [xsl] i18n and l10n question
by Nicolas Van Cleemput other posts by this author
Nov 7 2006 4:53AM messages near this date
Re: [xsl] i18n and l10n question | [xsl] libxslt 1.1.18 bug in copy-of with & escaping
& XSLT 
>  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



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe@[...].com> 
--~--
Thread:
Nicolas Van Cleemput
Nicolas Van Cleemput
Nicolas Van Cleemput
Nicolas Van Cleemput
Nicolas Van Cleemput
Nicolas Van Cleemput
Nicolas Van Cleemput
Nicolas Van Cleemput

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved