I ve already got SGML DTDs: how do I convert them for use with XML?
There are numerous projects being started to convert common or popular SGML DTDs to XML format (for example Patrice Bonhomme is working on an unofficial XML version of the TEI Lite DTD: details of that are discussed on the TEI-L mailing list). The following checklist comes courtesy of Seán McGrath (author of XML By Example, Prentice Hall, 1998) [my italics]: • No equivalent of the SGML Declaration. So keywords, character set etc are essentially fixed; • Tag mimimization is not allowed, so becomes and becomes ; • #PCDATA must only occur extreme left in an OR model, eg becomes and is illegal; • No CDATA, RCDATA elements [declared content]; • Some SGML attribute types are not allowed in XML eg NUTOKEN. Also there are no NOTATION attributes (data attributes); • Some SGML attribute defaults are not allowed in XML eg CONREF; • Co