The XML Editor Component can be used to edit the XML documents
available in the Explorer component.
Besides the normal editing actions like Copy, Paste, Find, Goto and Undo,
the Editor also parses the XML and supports Validation, automatic indentation,
tag completion and colorized syntax highlighting.
The preferences allow the number of spaces for a tab to be specified and
the automatic tag completion to be turned on and off.
There are a couple of options that work on a selection, there is the tag option which
creates a tag around the selected text, the comment option comments the selection and
the indent and unindent options handle the indentation of a block.
(TAB and SHIFT-TAB can also be used to indent and unindent blocks)
The XML Document is parsed upon saving, when the XML in the document cannot be parsed,
the document is not saved and the line where the problem has been identified will be
highlighted and an error message will be displayed at the bottom of the window in the
status bar.
Parsing without selecting Validation will check the XML for well-formedness.
When Validation is selected, the XML is also validated against the specified
external or internal DTD(s).