Re: [xsl] element in most preferred language expression?

Subject: Re: [xsl] element in most preferred language expression?
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Tue, 13 May 2008 09:56:24 -0400
Hi,

In addition to Ken's other helpful remarks:
What is the closest XPath expression which could get the value of an
element in a most preferred language?

"title[lang($preferredLanguage)]"

Or maybe title[lang(our:preferred-language())] with an extension function.


Which is entirely to leave aside whether we think it's a good idea to have an API that's sort-of-like-XPath-but-not-quite.

But I think we'd all feel more comfortable addressing the question if it were really on topic (it's not).

Cheers,
Wendell


====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================

Current Thread