XML Outliner

XML Outliner

oXygen comes with a powerful outliner, which is automatically synchronized with the document changes. The document tree structure is displayed as the document is edited. The modified element is immediately revealed and selected in the outliner. Also, an element can be selected in the Text editor mode by clicking the corresponding node in the outliner. The outliner uses an extremely fast and robust parser, able to handle XML documents that are not "well-formed".

The Outliner Panel

The Outline panel, located in the bottom left part of the main editor window, offers the following features:

Document Overview

The XML outliner displays a general overview of tags within the currently edited XML Document. It shows the hierarchical dependencies between the elements, making it easier for you to see the structure of the document.

The outliner displays a short text that describes each element from the tree. The description is composed of the value of the first attribute and the first words from the text content of the rendered element. The buttons from the outliner toolbar allow you to filter out the attribute and the text values.

Modification Follow-up

When editing, the outliner dynamically follows the introduced modifications, scrolling to the node which is currently being modified. This gives you better insight on how the document is affected by the modifications.

Element Selection

The XML outliner can also be used to search for a specific element location and content in the edited document. When you select a node in the outliner tree, the XML document is scrolled to the position of the selected element. Moreover, the content of the tag is selected in the document so you can copy and paste it in other parts of the document.

Filtering Support in the Outline View

You can control what elements are displayed in the Outline view by typing element names into a filter box. For example, entering the element name "figure" when editing a DocBook article results in getting immediately a short summary of all the figures from your document.

Filtering in the XML outliner, the flat presentation mode

The following image shows the filtered outliner as a tree. There are presented only the elements that are parents or children of the selected elements. The selected elements are boldfaced.

Filtering XML elements in the outliner

Error Markers in the Outline View

To make the XML validation errors and warnings easier to spot, the Outline view marks the XML elements having problems with a red or yellow color and with a corresponding icon.

XML Error reporting in the outliner

More details about the error are presented in the tool-tip.

Video Tutorials
Upcoming Events
Content Management Strategies/DITA North America 2015
DITA North America 2015
April 20-22, 2015
Chicago, Illinois, US
" oXygen XML Editor is the premier text editor for XML geeks, and an indispensable tool for O'Reilly's Production group. My team uses oXygen XML Editor for everything from simple XML editing to Schema validation and XSLT transformations. The digital production staff especially loves oXygen's built-in EPUB support, which eliminates a great deal of the grunt work that is usually entailed in editing EPUB files. The more we use oXygen, the more realize what a powerful tool it can be in digital and XML-based workflows."
Adam Witwer
Director of Content and Publishing Operations
O'Reilly Media