OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

office message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [office] xml:lang settings. Confused.


See ...

<http://www.w3.org/International/tutorials/bidi-xhtml/>

... where they have this example:

<p>This is <em>English</em>, but <span lang="ja" 
xml:lang="ja">これは<em>日本語</em>です。</span></p>

CSS includes language selectors as well, so you can control the fonts 
through that mechanism.

em           { font-style: italic; }
em:lang(ja)  { font-style: normal; font-emphasize: dot before; }

Seems to me to suggest xml:lang is a good solution here.

Bruce


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]