decorative banner

Importing a Document Type Definition (DTD) file


    An imported Document Type Definition (DTD) file can be bound to file extensions and mime types. This enables GoLive to open any file of that extension and associate it with the imported DTD for syntax checking, and element placement in the Outline Editor.

To import an XML DTD file:

  1. In the Markup tab of Web Settings, choose Import XML-DTD from the context menu of the left pane.
  2. Open a DTD file.
  3. The DTD file appears within a folder named Imported in the Markup tab. Elements, entities, and notations contained in the DTD are listed in the right pane.

To edit an XML DTD file:

  1. In the Markup tab of Web Settings, select the DTD filename in the left pane.
  2. In the XML DTD Inspector, enter an extension, or multiple extensions separated by commas, in the Extensions text box.
  3. Edit the elements, attributes, and enumerations as needed. (See Editing an element, Editing an attribute, and Editing an enumeration.)