Chapter 5. XML Design

In which we dig up a rock and discover the secrets of time.

The beauty of XML is its flexibility. It's a toolkit with which you build your own markup language to meet your particular needs exactly, because you design it.

The focus of this chapter is on building an XML DTD (document type definition). However, the DTD is only one way to build an XML design. For example, an XML Schema, which is discussed in Chapter 7, and XDR (XML Data–Reduced), which is discussed in Chapter 8, are other means of creating an XML design used in different contexts. The principles discussed in this chapter can be applied to these other methods as well.

It's worthwhile to focus on DTDs because the DTD is the most essential form of XML design. ...

Get XML and SQL: Developing Web Applications 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.