Generate DTD

For the current XML document user can generate DTD automatically and the generated DTD is shown in DTDView