This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] zh_CN or zh-CN for HTML
- From: Bernd Groh <bgroh at redhat dot com>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Thu, 26 May 2005 15:12:45 +1000
- Subject: [docbook-apps] zh_CN or zh-CN for HTML
Hi,
after generating some HTML from XML DocBook for locales consisting of a
language and a country code, such as zh_CN, I've realized that there's a
problem with the resulting html document. This is caused by the lang
attribute of the tags using zh_CN, instead of zh-CN, which is the HTML
recommendation/standard (see
http://www.w3.org/TR/REC-html40/struct/dirlang.html#h-8.1.1). Currently,
I post-process the HTML-files with a string-replace, but I wondered
whether there's another way of doing this automatically within the XML
DocBook -> HTML conversion?
Thanks,
Bernd
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org