Re: DOCBOOK: Language codes with countries

From
Norman Walsh <>
Date
2001-07-18T13:59:24+00:00
ID
Thread
Re: DOCBOOK: Language codes with countries
/ Elliotte Rusty Harold <> was heard to say:
| p. 120 of the Docbook book gives en_US as an example of an ISO 3166
| country code for the lang attribute. However, these are normally
| written using hyphens rather than underscores; e.g. en-US. Which is
| correct for Docbook?

The ISO 3166 reference should be normative on this. Hyphen is correct.
(Both the DSSSL and XSL stylesheets handle both.)

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <>      | Extinction is an endless crime,
http://www.oasis-open.org/docbook/ | quietly slaughtering all the lives
Chair, DocBook Technical Committee | that would have been.--Captian
                                   | Sverre (James Morrow)