Using XML Tools to Create the DTD


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.

image from book
Figure 5-4




Professional XML
Professional XML (Programmer to Programmer)
ISBN: 0471777773
EAN: 2147483647
Year: 2004
Pages: 215

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net