- From: <nobody@w3.org>
- Date: Mon, 03 Apr 2006 01:10:07 -0000
- To: nobody@w3.org
Dear Wiki user, You have subscribed to a wiki page or wiki category on "ESW Wiki" for change notification. The following page has been changed by YvesSavourel: http://esw.w3.org/topic/its0601TechLangAuth ------------------------------------------------------------------------------ * [:its0601Techniques:Back to Techniques] = Specify the language of the content = - - Use the xml:lang attribute to specify in what language is the content of an element. Having information about what is the language of a content is very important in many situation. Some of them are: @@ -22, +20 @@ * selecting proper automated text such as quotation marks or other punctuation signs + + ==== Technique: Use xml:lang to specify in what language is your content ==== + + Use the xml:lang attribute to specify in what language is the content of your document. + The normal way of specifying the language of a document is to declare it in the root element and, if needed, to override that initial declaration for parts of the document in a different language. For example:
Received on Monday, 3 April 2006 17:25:24 UTC