xml:lang and lang missing from toc and index files

Questions about XML that are not covered by the other forums should go here.
rdelong
Posts: 72
Joined: Tue Oct 21, 2014 10:01 pm

xml:lang and lang missing from toc and index files

Post 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?
Radu
Posts: 9056
Joined: Fri Jul 09, 2004 5:18 pm

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

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
rdelong
Posts: 72
Joined: Tue Oct 21, 2014 10:01 pm

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

Post 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
Radu
Posts: 9056
Joined: Fri Jul 09, 2004 5:18 pm

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

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply