The Tree View window is comprised of the following main components:
The main menu, located below the program title bar, provides menu driven access to all the features and functions available within oXygen Tree View.
Macintosh users should use the command key instead of the control key for all keyboard shortcuts.
Table 3.20.
Menu Options![]() |
|
Table 3.21.
Menu Options![]() |
|
Table 3.22.
Menu Options![]() |
|
The Main toolbar, located below the Main menu, provides easy access to common and frequently used functions. Each icon is a button that acts as a short-cut to a related function. Hold the pointer cursor over an icon to display a context label that will give you a hint as to its function. Click an icon to use its' function.
Table 3.24. Description of Main Toolbar Buttons
![]() | Ctrl+N): Displays the New dialog from which to select the document file type. -> ( |
![]() | Ctrl+O): Displays the Open dialog used to discover, select and open a file. -> ( |
![]() | Ctrl+S): Saves the current document. If the document does not have a file, displays the “Save As” dialog. -> ( |
![]() | Save As: Displays the Save As dialog, used to name and save an open document to a file; or save an exiting file with a new name. |
![]() | Ctrl+C): Places a duplicate copy of the current selection in the clipboard. -> ( |
![]() | Ctrl+X): Removes the current selection from the document and places it in the clipboard. -> ( |
![]() | Ctrl+V): Places the current clipboard content into the document at the current position. -> ( |
![]() | Delete): Delete the selected node from the document. -> ( |
![]() | Ctrl+Z): Reverses, a maximum of 100, editing actions to return to the preceding state. -> ( |
![]() | Ctrl+Shift+Z): Recreates, a maximum of 100, editing actions that were undone by the “Undo” function. -> ( |
: Executes an XPath expression, used to select specified elements within the current document.
The tree editing toolbar, located on the left side of the tree editor window, provides easy access to frequently used functions. Each icon is a button that acts as a shortcut to the corresponding function. Hold your mouse pointer over an icon to display a tooltip text that will give you a hint to its function. Click an icon to use its function.
Table 3.25. Description of Tree Editing Toolbar Buttons
![]() | Validate XML (Ctrl+Shift+V): Executes the Validation operation on the current document using a validating parser. Returns an error result-list in the Message panel. Mark-up of current document is checked to conform with the specified DTD or XML Schema rules. |
![]() | -> : Insert an element after the selected node as its last child. |
![]() | -> : Insert an attribute after the selected node as its last child. |
![]() | -> : Insert a Comment after the selected node as its last child. |
![]() | -> : Insert a CDATA after the selected node as its last child. |
![]() | -> : Insert a processing instruction after the selected node as its last child. |
![]() | -> : Insert a text after the selected node as its last child. |
![]() | -> : Insert an entity reference after the selected node as its last child. |
![]() | Start Editing: Starts editing the selected node from the document. |
![]() | Stop Editing: Ends editing the selected node. |
![]() | Toggle AT: This option shows/hides the attributes. |
![]() | Toggle WS: This option shows/hides the whitespaces. |
![]() | Ctrl+Up): This option moves up the selected node with one position. -> ( |
![]() | Ctrl+Down): This option moves down the selected node with one position. -> ( |
![]() | Expand All (Ctrl+P): This option expands the selected element by one level. |
![]() | Collapse All (Ctrl+L): This option collapses the selected element by one level. |
![]() | Insert): Insert a new node of the same type like the selected one as its sibling. -> ( |
The Editor panel is comprised of:
For a quick navigation in the document you can use the navigation panel which displays each level of the document on a different column. You can easily navigate on the same level of the tree by pressing on the down arrow of a column and choosing the desired token.
The navigation panel is located above the editing space.
The Tree View Editor provides a useful set of features that promote easy editing of structure mark-up documents. Each token have associated an icon for a easy visual identification of the tokens.
Right-click anywhere in the editor to display a menu with options related to editing and mark-up operations.
Table 3.26. Description of Editor Space Menu
![]() |
|
The Editor status bar, located below the Editing space, provides information about the current document:
Displays the full path of the current document.
Displays the status of Validate XML and XPath expression evaluation operations and the result (success or not) and number of errors found in the last operation.
Indicates whether or not the document has been modified since the last save.
The Message panel, located across the bottom half of the Tree View Window, displays messages returned from the following operations:
To distinguish between result types, each functions result-list is displayed in a separate tab within the panel.
To change focus between the result-lists, just select the tab required. To close a tab, or all tabs, right-click the tab to display a menu and select an option.
Table 3.27. Message Panel Tab Menu
![]() |
In all instances, each record within a result-list is linked to the document location where the indicated error or character string will be found. Selecting a result list record moves the Editor selection to the object in question.
In addition to this time saving feature, the Message panel menu enables several operations to be performed on single or multiple selected records. The Message panel menu is displayed by selecting a record, then right-clicking.
Table 3.28. The Message Panel Menu
![]() |
|
The “Validate XML” function use the tab instance named “errors” to display results. Each time this function is executed the result-list is populated with new results.
oXygen XML Editor provides a handy information panel that shows the detailed information about the attribute or element that you are working on.
Table 3.29. Elements Information
![]() |
|
Table 3.30. Attributes Information
![]() |
|
The Entities Panel presents a list of defined entities that you can insert within your document.
Table 3.31. Entities Panel
![]() |
|
The All Elements Panel presents a list of all defined elements that you can insert within your document.
Table 3.32. All Elements Panel
![]() |
|