[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: element in most preferred language expression?
At 04:47 AM 5/28/2008, Florent wrote:
> title[lang($preferredLanguage)] | > title[lang($2ndPreferredLanguage)][not(title[lang($preferredLanguage)])] Darn, my average is slipping. How about: title[lang($2ndPreferredLanguage)][not(../title[lang($preferredLanguage)])] That is, the title in the second language when no title is available in the first language. I'll be the first to agree it's, em, somewhat baroque. But it's what we have in 1.0 (unless you prefer Romanesque xsl:choosing). Cheers, Wendell
|
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
|