Page 1 of 1

xml:lang and lang missing from toc and index files

Posted: Tue Apr 12, 2016 7:14 pm
by rdelong
In a recent accessibility audit someone had noticed that our toc.html, index.html, and toc.htm files are missing the xml:lang="en-us" lang="en-us" header. This information is present in the topic files, however.

How do I get this xml:lang/lang added to these files?

Re: xml:lang and lang missing from toc and index files

Posted: Thu Apr 14, 2016 4:01 pm
by Radu
Hi,

So I guess this is for WebHelp. Do you publish DITA or Docbook content to WebHelp? What version of Oxygen are you using?

Regards,
Radu

Re: xml:lang and lang missing from toc and index files

Posted: Thu Apr 14, 2016 6:05 pm
by rdelong
Sorry for not being specific. Yes, this is for WebHelp using DITA sources using version 17.1 Oxygen, WebHelp version is 15.1

Re: xml:lang and lang missing from toc and index files

Posted: Fri Apr 15, 2016 8:18 am
by Radu
Hi Rich,

You should try to test this with the WebHelp support which comes by default with the DITA OTs bundled with Oxygen 17.1, from what I tested it properly sets the xml:lang attributes also on those particular files.

Regards,
Radu