[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSLT: conditional output, or l10n issues
[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 ideon?</question> <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 you?</aside> 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. -Chris -- <!NOTATION SGML.Geek PUBLIC "-//Anonymous//NOTATION SGML Geek//EN"> <!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
|
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
|