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 12.173.168.199: http://esw.w3.org/topic/geoFAQxmllang The comment on the change is: cleanup based on Richard's feedback. ------------------------------------------------------------------------------ === When to use ''xml:lang'' === - XML 1.0 defines a common attribute ''xml:lang'' which indicates the natural language of the content of an element using the language tags defined by RFC 3066 or its successor. That is, the ''xml:lang'' identifies the language of text or other content (including embedded objects such as an image or sound file) contained by the element. The ''xml:lang'' value applies to any sub-elements contained by the element. Attribute values associated with the element and its descendant elements also are associated with the ''xml:lang'' (though using natural language in attributes is '''not''' best practice). Thus ''xml:lang'' is used to indicate the language of some content in or referenced by an XML document. + XML 1.0 defines a common attribute ''xml:lang'' which identifies the language of text or other content (including embedded objects such as an image or sound file) contained by the element in which it appears. The ''xml:lang'' value applies to any sub-elements contained by the element and attribute values associated with the element and its descendant elements also are associated with the ''xml:lang'' (though using natural language in attributes is '''not''' best practice). The value of the ''xml:lang'' attribute is a language tag defined by RFC 3066 or its successor. - For example, in XHTML 1.0, there is an ''hreflang'' attribute in the <a> element and also an ''xml:lang'' (or ''lang'' attribute, in the case of HTML) for the content of the <a> element: + For example, in XHTML 1.0, there is an ''hreflang'' attribute in the <a> element and also an ''xml:lang'' (or ''lang'' attribute, in the case of HTML 4.0) for the content of the <a> element: {{{<a xml:lang="en" href="xyz" hreflang="de"> Click for GermanReceived on Tuesday, 12 July 2005 19:40:46 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:12:40 GMT