Question: what is the difference between document type definition (dtd) and xml schema?
Answer: Differences between an XML Schema Definition (XSD) and Document Type Definition (DTD) include: XML schemas are written in XML while DTD are derived from SGML syntax. ... XML schemas allow support for namespaces while DTD does not. XML schemas define number and order of child elements, while DTD does not.