XML, XSL and DTD sources are structured in tags and data. For these sources to be usable they need to be well-formed, which means:

An XML editor helps the user to enter valid input.

Several third-party XML editors can be used outside Eclipse. For further information go to the References chapter and follow the associated links.

  • The Notepad++ editor.

  • The XmlPad editor.

The behavior of the DTD, XML and XSD editors can be customized in the Preferences of your Eclipse environment under section XML.

  • The syntax highlighting and colours are a number of items that can be changed.

  • Templates can be added to speed up the creation of a new document.

The XML section in the Eclipse preferences