15. XML Editor: What's New

(Home)     Previous     Next


1. Overview

The XML editor is now built on the Eclipse Web Standard Tools (WST) project architecture. As a result, the UI has changed significantly and several additional and/or improved features are available.

In general, this change allows us to provide a more feature rich and better tested XML editor since we can leverage the work of the WST project and don't have to re-implement everything ourselves.

2. Source Editor

The Source Editor supports the following features:

3. Tree Editor

The Tree View is a table-tree editor that displays the XML nodes where the value of each node is displayed in a table-cell next to the tree node.

The Tree Editor supports direct editing of attribute values, comments, text nodes, CDATA, etc. as well as insertion and deletion using the right mouse menu.

4. Wizard

The new XML wizard allow you to create either an empty XML file or a file containing skeleton data based on a DTD or XML Schema. You can either choose a DTD or XML Schema from the XML Catalog, use an existing DTD or XML Schema (in the workspace), or import DTDs or XML Schemas into your workspace and use one of the imported files to create the skeleton data.

5. Preferences

Several new preference pages are available for the XML editor.

5.1. XML Catalog

The XML Catalog Preferences allow you to manage the WST XML Catalog implementation. You can add, edit, or delete user-specified catalogs. You cannot use this preference to manage the plug-in specified entries since these cannot be changed.

5.2. XML Files

You can set the following general XML File preferences:

5.3. XML Source

You can set the following XML Source preferences:

5.4. XML Styles

The XML Styles preferences allow you to specify the syntax highlighting (foreground and background color) and whether the text should be bold for individual XML constructs.

5.5. XML Templates

Use the XML Templates preference page to define XML templates. The templates are used in the code completion in the XML Source Editor.



(Home)     Previous     Next