Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

I ve already got SGML DTDs: how do I convert them for use with XML?

convert dtds GOT SGML ve XML
0
Posted

I ve already got SGML DTDs: how do I convert them for use with XML?

0

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

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123