Generating DTD
A Data Type Definition (DTD) is required for running structure validation checks on a web content file. IntelliJ IDEA can scan any XML file for the existing elements and attributes and generate a DTD for it.
Generate a DTD for an XML file
Open the file in the editor.
From the main menu, select
. IntelliJ IDEA inserts the resulting DTD as a section above the first line of the file.
Last modified: 15 April 2020