XQuery Outline View

The XQuery document structure is presented in the XQuery Outline view. The outliner presents the list of all the components (namespaces, imports, variables and functions) from both the edited XQuery file and its imports. It allows a quick access to a component by knowing its name. It is opened from WindowShow ViewOtheroXygenOutline.

Figure 11.5. XQuery Outline View

XQuery Outline View


To easily navigate in the document, the XQuery Outline View provide four options:

Sort Allows you to sort alphabetically the xquery components.

Show imported/included Show also the imported/included components.

Grouping Options Allows you to group the components by location, namespace and type. When grouping by namespace, the main XQuery module namespace is the first presented in the outline view.

Selection update on caret move Allows a synchronization between Outline View and source document. The selection in the outline view can be synchronized with the caret's moves or the changes in the XQuery editor. Selecting one of the components from the outline view also selects the corresponding item in the source document.

If you know the component name, you can search it in the outline view by typing his name in the filter text field from the bottom of the view or directly on the tree structure. When you type the component name in the filter text field you can switch to the tree structure using the arrow keys of the keyboard, Enter, Tab, Shift-Tab. To switch from tree structure to the filter text field you can use Tab, .

Tip

The search filter is case insensitive. The following wildcards are accepted:

  • * - any string

  • ? - any character

  • , -patterns separator

If no wildcards are specified, the string to search will be searched as a partial match (similar to *textToFind*).