TIP 4 Rather than building your DTD, you can generate it from the current XML document using the "DTD/Schema" menu.