The XSLT Outline View

The XSLT Outline View present the list of all the components (templates, attribute-sets, character-maps, variables, functions) from both the edited stylesheet and its imports/includes. It can be opened from PerspectiveShow ViewOutline .

 

Figure 4.86. The XSLT Outline View

The XSLT Outline View

The XSLT Outline View provide some actions to easily navigate inside a stylesheet:

Sort Allows you to alphabetically sort the stylesheet components.

Show imported/included Allows you to show also the components from imported/included stylesheets.

Grouping options The stylesheet components can be grouped by location, type and mode.

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 XSLT editor. Selecting one of the components from the outline view also selects the corresponding item in the source document.

Components mode Allows you to switch between the current outline and the standard Outline View. Your preference for specific or standard outline will be applied to all new xslt editors opened after this operation.

The following contextual menu actions are available:

Remove (Delete)

Remove the selected item from the stylesheet.

Search References (Ctrl+Shift+R)

Searches all references of the item found at current cursor position in the defined scope if any. Click here for more details.

Search References in...

Searches all references of the item found at current cursor position in the specified scope. Click here for more details.

Component Dependencies

Allows you to easily see the dependencies for the current selected component. Click here for more details.

Rename Component

Rename the selected component. Click here for more details.

The stylesheet components information are presented in two columns: the first column present the name and match attributes, the second column the mode attribute. If you know the component name, match or mode, you can search it in the outline view by typing one of these information in the filter text field from the bottom of the view or directly on the tree structure. When you type de component name, match or mode 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, Shift-Tab.

[Tip]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*).

On the XSLT outline view you have some contextual actions like: Edit Attributes, Cut, Copy, Delete.