The xml:lang attribute can specify the language used for the content within an element. The values can come from the ISO standard 639, denoted by the IANA prefix i-, or from private sources, denoted by the prefix x-. For example:
Quote<docu xml:lang="en">
<p xml:lang="fr">Bonjour monde en français </p>
<p xml:lang="de">Hallo Welt auf Deutsch<p>
<p>Hello World in English</p>
</docu>
The dоcument illustrates "Hello World" in French (xml:lang="fr"), German (xml:lang="de"), and English. The p tag for English has no xml:lang attribute because it is in the scope of the docu element, which is set to xml:lang="en". Therefore, unless overridden, the default content of the
docu element is in English.