OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   [Q] xml:lang: PCDATA and attribute values

[ Lists Home | Date Index | Thread Index ]
  • From: Patrice Bonhomme <Patrice.Bonhomme@loria.fr>
  • To: xml-dev@xml.org
  • Date: Mon, 05 Jun 2000 11:57:15 +0200


Hi,

i have planned to use the xml:lang attribute to specify the language of the 
content element. But, regarding the XML 1.0 specification, this attribute can 
also be applied to the value of the CDATA attributes. So, it is impossible at 
the same level to have an attribute in English and the content of the element 
in French :

<div xml:lang="fr" type="chapter">Un chapitre en franšais.....</div>

For those who are dealing with multilingual documents, i would like to know 
their ways of handling this. Is someone using the xml:lang attribute to 
specify the language of the attribute values ?

Thanks,
P@t

-- 
  ==============================================================
   bonhomme@loria.fr      Tel : 03 83 59 30 52 / 06 11 34 03 85
   http://www.loria.fr/~bonhomme                 Office : B.228
  --------------------------------------------------------------
   * Serveur Silfide  : http://www.loria.fr/projets/Silfide
  ==============================================================



***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS