DTD vs Schema

Both Document Type Definitions (DTD's) and XML Schemas (XSD's, also known as WXS) are industry-standard ways to define XML-based data models, and you'll find many tools and utilities for working with both DTD and XML Schema in Stylus Studio. There are many technical benefits of migrating older DTDs to XML Schema, including:

  • Support for primitive (built-in) data types (eg: xsd:integer, xsd:string, xsd:date, and so on), which facilitates using XML in conjunction with other typed-data, including relational data.
  • The ability to define custom data types, using object-oriented data modeling principles: encapsulation, inheritance, and substitution.
  • Compatibility other XML technologies, for example, Web services, XQuery, XSLT and other technologies can optionally be schema-aware.

Just in case you were wondering what some of these acronyms actually stand for:

DTDDocument Type Definition
XSDXML Schema Document
WXSW3C XML Schema — another name for XSD
XMLExtensible Markup Language

DTD vs XSD, DTD vs Schema


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Try Stylus DTD and Schema Tools

Develop Schemas and DTD's with our award-winning XML data modeling and conversion utilities - Download a free trial!

What's New for Stylus Studio® X16?

New XQuery & Web Services Tools, Support for MySQL, PostgreSQL, HL7 EDI, Microsoft .NET Code Generation and much more!

Ask Someone You Know

Does your company use Stylus Studio? Do your competitors? Engineers from over 100,000 leading companies use Stylus Studio, and now you can ask someone from your own organization about their experiences using Stylus Studio.

Free Stylus Studio XML Training:
W3C Member