Altova Mailing List Archives

Re: [xml-dev] xml:lang how often used?

From: "G. Ken Holman" <gkholman@----------------.--->
To: "XML Developers List" <xml-dev@-----.---.--->
Date: 10/18/2007 1:23:00 PM
At 2007-10-18 14:44 +0200, bryan rasmussen wrote:
>It seems to me that people are always reinventing the wheel where
>xml:lang is used and I am always seeing standards that specify an
>attribute or element usage for specifying the language that parts of a
>document are in. Can anyone think of any particular formats or perhaps
>governmental initiatives where it has been officially decreed that
>xml:lang must be used when appropriate, and does anyone know why
>people seem to not use xml:lang in favor of using other ways to do the
>same thing?

My customers using DITA are using xml:lang for their product 
documentation.  The stylesheets I write for them inspect the document 
element for the language in order to arrange the page geometry appropriately.

Personally I'm using it in subtrees of multi-lingual compilations of 
Universal Business Language information item description 
translations:  the aggregate translation stores for each item 
description the many available language translations, each annotated 
with an appropriate xml:lang.

Where are you seeing alternatives popping up?

. . . . . . . . . . . . . Ken

Comprehensive in-depth XSLT2/XSL-FO1.1 classes: Austin TX,Jan-2008
World-wide corporate, govt. & user group XML, XSL and UBL training
RSS feeds:     publicly-available developer resources and training
G. Ken Holman                 mailto:gkholman@C...
Crane Softwrights Ltd.
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
Male Cancer Awareness Jul'07
Legal business disclaimers:


These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.