JetBrains Rider 2020.1 Help

Generating DTD

A Data Type Definition (DTD) is required for running structure validation checks on a web content file. JetBrains Rider can scan any XML file for the existing elements and attributes and generate a DTD for it.

Generate a DTD for an XML file

  1. Open the file in the editor.

  2. From the main menu, select Tools | XML Actions | Generate DTD From XML File. JetBrains Rider inserts the resulting DTD as a section above the first line of the file.

Last modified: 27 May 2020