Explore BrainMass
Share

Explore BrainMass

    DTD versus XML Schema

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    Discuss the simplicity of the DTD compared to that of XML Schema. Has the trade-off gone too far towards complexity in trying to overcome the limitations of the DTD?

    © BrainMass Inc. brainmass.com October 9, 2019, 7:33 pm ad1c9bdddf
    https://brainmass.com/computer-science/control-structures/dtd-versus-xml-schema-121892

    Solution Preview

    DTD compared to XML Schema
    Question:

    Discuss the simplicity of the DTD compared to that of XML Schema. Has the trade-off gone too far towards complexity in trying to overcome the limitations of the DTD?

    Answer:

    Lets us see what a DTD is and what a XML schema is before comparing them.
    A DTD is:

    The XML Document Type Declaration contains or points to markup declarations that provide a grammar for a class of documents. This grammar is known as a document type definition or DTD.

    The DTD can point to an external subset containing markup declarations, or can contain the markup declarations directly in an internal ...

    Solution Summary

    The solution clearly explains the concepts of DTD & XML Schema and also discusses the advantages and dis-advantages of both.

    $2.19