The editing area in oXygen consists of two tabs: the Text editing mode and the Grid editor mode. The latter is available when editing files recognized as XML. By default, oXygen opens the files in the Text editor mode.
The tabs are synchronized with each other so that you can quickly switch between them when required.
Most of the actions available in the Text editor mode are also available in the Grid editor mode and have Undo/Redo support. You can easily identify nodes in a document by using the find and replace action, along with the XPath toolbar and the XPath builder.
XML documents are displayed in the Grid editor mode as a structured layout of nested tables in which the text content can be modified without directly interacting with the XML tags. oXygen handles the child elements and attributes of the recurring elements as columns. The tables can be expanded and collapsed with a mouse-click to show or hide the elements, as needed. Also, the document structure can be easily changed with drag-and-drop operations on the grid components.
There are two layouts available in the Grid editor mode: the grid layout (attempts to finds recurring elements and groups them into tables) and the tree layout (directly shows the structure of the XML document).
By grouping the recurring structures, oXygen offers the possibility to manipulate the data with table-specific operations.
Other operations, available on any node, include node insertion and deletion.
The grid behaves like a form, allowing you to use well known keyboard navigation (arrow keys, page up/down, etc.)
If an edited document uses an XML Schema (or a DTD, Relax NG schema, etc.), you can use the Content Completion Assistant in the Grid editor mode. In the following image, the Content Completion Assistant is used in the Grid editor mode to insert an attribute while modifying an XML Schema.
When inserting an element whose definition indicates required content (either attributes, sub-elements, or both), oXygen automatically adds those nodes into the grid.
The Find All Elements action is available in all the XML editor modes: Text, Author and Grid. It represents an easy way to search for XML elements using tag name, attribute name, and value.
The XML Grid editor mode fully supports Unicode. It is possible to change the text orientation when you are editing XML documents containing right to left or bidirectional text.
You can customize the grid's appearance according to your needs. For instance, you can change the font, cell background, foreground, or even the color gradients of the table header. The default width of the columns can also be changed.
In the following image, the grid has been configured to use a high contrast color scheme: