So far in this chapter, you have been creating the DTDs from scratch. The DTD standard has existed for some time now and, for this reason, many XML tools are built-in to make it easy for you to build and consume DTDs.
For instance, using Altova's XMLSpy, you can easily create the DTD for any XML document on the fly. To accomplish this task, select DTD/Schema from the menu and select Generate DTD/Schema from the provided options. This pulls up a dialog box that enables you to name the DTD as you wish. The dialog is presented in Figure 5-4.
Figure 5-4