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

Re: XSLT: conditional output, or l10n issues

Subject: Re: XSLT: conditional output, or l10n issues
From: Chris Maden <crism@xxxxxxxxxxx>
Date: Thu, 20 May 1999 09:58:50 -0400 (EDT)
xslt conditional code
[Kay Michael]
> Technically xml:lang has to have a value which conforms to RFC 1766
> "tags for the identifcation of languages" (which I haven't
> read). But I expect most parsers would let you get away with "any"
> as a value. If not, you could always cheat, I expect there's a code
> for Esperanto that you could use to mean "any language".

<question lang="eo">Kie vi pensas ke tio estas unu bonan

<question lang="en">Why do you think that's a good idea?</question>

<aside lang="en">Surely you knew someone was going to do that, didn't

RFC 1766 provides extension methods; if you don't want to use an ISO
639 language code, you can use i- and an IANA registered term, or x-
and anything you want.  IANA has "i-default" registered for "Default
Language Content", defined in RFC 2277; that sounds like a good one to
use for a default value.

<!ENTITY crism PUBLIC "-//O'Reilly//NONSGML Christopher R. Maden//EN"
"<URL>http://www.oreilly.com/people/staff/crism/ <TEL>+1.617.499.7487
<USMAIL>90 Sherman Street, Cambridge, MA 02140 USA" NDATA SGML.Geek>

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread


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.
First Name
Last Name
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.