Chapter 3. Defining the Data Structure: Document Type Definitions, XML Schema, and Parsers

In this chapter

  • Introducing Java

  • Installing the Java 2 Software Development Kit

  • Installing the Xerces-J Parser

  • Well-Formed Versus Valid Documents

  • Document Type Definitions

  • External DTDs

  • Referential Integrity

  • XML Schema

  • Next Steps

In the first two chapters of this book, we built some “placeholder” type pages—pages that will give our company a Web presence while we develop the real application.

Now it's time to get serious.

In this chapter, we'll start examining the actual structure of the data that we're going to use. We'll analyze it, model it, define it, and test it. This last will be accomplished with the help of a parser.

Parsers are applications that take long ...

Get XML and Java™ from scratch now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.