In this lesson, you'll start working through the XML document creation process. Using the wizard, you will complete the first step in XML document creation: defining an XML project and compiling a document type definition (DTD).
In this lesson, you'll
explore the concept of a DTD
learn about compiling
explore the WordPerfect DTD Compiler window
compile a DTD
You'll need about 40 minutes to complete this lesson.
What is a document type definition?
Document Type Definitions (DTDs) define document components and structure. Some of the components (or markup declarations) that are defined in a DTD include
elements
attributes
notations
entities
WordPerfect uses the DTD to validate the associated XML document. During the validation process, the contents of the DTD elements are compared with the associated XML document to ensure that the XML document follows the structure and content defined in the DTD.
To learn about the markup declarations defined in a DTD
Click any of the highlighted markup declarations defined in the picture below.
Summary of Lesson 2
In this lesson, you learned about
document type definitions (DTDs)
the compilation process
the WordPerfect DTD Compiler window
compiling a DTD
In Lesson 3, you'll create a new XML document, and insert elements and text.