Posts Tagged ‘XML document’

Enforcing data integrity with DTDs

March 15, 2010 - 4:48 am 1 Comment

In part one of this series we showed you how to separate your data from
presentation using XML to store the data and an XSL stylesheet to control the
presentation. At this point you should know what an XML document is and have a
pretty good idea of some situations where it would be useful.

In this article, we’re going to explain what a Document Type Definition (DTD) is
and how it helps you describe and enforce rules on the mark-up (or elements) in
your XML documents.

(more…)