- From: <w3t-archive+esw-wiki@w3.org>
- Date: Tue, 28 Jun 2005 15:47:55 -0000
- To: w3t-archive+esw-wiki@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 RichardIshida: http://esw.w3.org/topic/geoFAQxmllang ------------------------------------------------------------------------------ + = ITS WG Collaborative editing page = + + Follow the [http://esw.w3.org/topic/itsHowTo conventions] for editing this page. + + '''[http://www.w3.org/International/geo/2004/article-devt-process.html Status: Initial Draft]''' + ie. please focus on technical content, rather than wordsmithing at this stage. + + Author: Addison Phillips + + + --- + + = xml:lang in XML document schemas = + - = When should I use xml:lang in an XML document schema (DTD)? = + When should I use xml:lang in an XML document schema (DTD)? + + == Answer == XML 1.0 defines a common attribute ''xml:lang'' which indicates the natural language of the content of an element (or attribute). That is, the best application of xml:lang should be to identify the language of text contained by the element (including any sub-elements) as well as any attribute values associated with the element and its descendant elements (though using natural language in attributes is '''not''' best practice).
Received on Tuesday, 28 June 2005 17:32:12 UTC