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 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:12:40 GMT