Scholar Repository
Home>Manual>DTD Tutorial

DTD Tutorial

From http://www.w3schools.com (Copyright Refsnes Data)

DTD Tutorial

back next


DTD Tutorial

picture

The purpose of a DTD (Document Type Definition) is to define the legal building blocks of an XML document.

DTD defines the document structure with a list of legal elements and attributes.

Start learning DTD now!


Table of Contents

Introduction to DTD
An introduction to the XML DTD, and why you should use it.

DTD - XML Building Blocks
The XML building blocks that can be defined in a DTD.

DTD Elements
How to define the legal elements of an XML document using DTD.

DTD Attributes
How to define the legal attributes of XML elements using DTD.

DTD Elements vs. Attributes
When to use elements and when to use attributes. A small "think-about" guideline.

DTD Entities
How to define XML entities using DTD.

DTD Validation
How to test for DTD errors while loading XML documents.

DTD Examples
Some real world DTD examples.

DTD Summary
This chapter contains a summary on what you have learned in this tutorial and a recommendation on what subject you should study next.


back next

From http://www.w3schools.com (Copyright Refsnes Data)

Home>Manual>DTD Tutorial