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: 63

xml:lang and lang missing from toc and index files

Tue Apr 12, 2016 7:14 pm

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: 5690

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

Thu Apr 14, 2016 4:01 pm

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: 63

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

Thu Apr 14, 2016 6:05 pm

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: 5690

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

Fri Apr 15, 2016 8:18 am

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

Return to “General XML Questions”

Who is online

Users browsing this forum: No registered users and 0 guests