| # XMLmind XML Editor - Online Help |

### 2.2. Select menu items

### Tip

Clicking anywhere in the document view or any caret movement has the side effect to cancel the selection. It is also possible to explicitly do so by typing Esc+Esc.

Select Parent

  Selects parent of currently selected node.

  If there is no currently selected node, selects the text, comment or processing instruction node containing the caret.

Select Child

  Selects previously selected child of currently selected node.

  If there is no such child, selects first child node of currently selected element.

  If currently selected node is a text, comment or processing instruction node, cancels the selection.

Select Preceding Sibling

  Selects preceding sibling of currently selected node, if any.

Select Following Sibling

  Selects following sibling of currently selected node, if any.

Extend Selection to Preceding Sibling

  Adds preceding sibling, if any, of currently selected node to the node selection.

  If there is no currently selected node, selects the element containing the caret.

  Keyboard shortcut (not displayed in menu): Esc+Left.

Extend Selection to Following Sibling

  Adds following sibling, if any, of currently selected node to the node selection.

  If there is no currently selected node, selects the element containing the caret.

  Keyboard shortcut (not displayed in menu): Esc+Right.

Select All Children

  Selects all children of currently selected element.

  Keyboard shortcut (not displayed in menu): Esc+Down.

#### 2.2.1. Link submenu

Select Link Target

  An element acting as a link source must be implicitly or explicitly selected. Scrolls to and selects the element which is the target of this link.

  DocBook example: the selected element is `<link linkend="foo">...</link>`. Scrolls to and selects the element having `foo` as its `id` attribute.

Select Link Source

  An element acting as a link target must be implicitly or explicitly selected. Scrolls to and selects the element which points to this target.

  DocBook example: the selected element is `<para id="foo">...</para>`. Scrolls to and selects first `<xref linkend="foo"/>` or `<link linkend="foo">...</link>`.

Select Preceding Link Source

  An element acting as a link source must be implicitly or explicitly selected. Scrolls to and selects the preceding (in document order) link pointing to the same target.

Select Following Link Source

  An element acting as a link source must be implicitly or explicitly selected. Scrolls to and selects the following (in document order) link pointing to the same target.

In some cases[9], the above menu items allows to select an destination found in a document other than the one being edited. In such case, the user is prompted to confirm that she/he really wants to open this other document. This confirmation dialog box also allows the user to choose to open the other document in read-only mode.

#### 2.2.2. Navigation submenu

Most commands which causes XXE to “jump” from one location to another automatically leave an invisible “back mark” behind them. Such marks, specifying a location in a document, are recorded in the navigation history. Menu items Go Back and Go Forward allow the user to navigate back and forth between the current location of the caret and these back marks.

The commands which automatically leave a back mark behind them are:

- Follow link commands such as Select → Link → Select Link Target, Select → Link → Select Link Source, etc.

- Edit → Reference → Edit Referenced Document and Edit → Reference → Edit Referencing Document.

- Text search/replace commands such as Search → Search, Search → Find Next, etc.

- Search → Find Element.

The navigation history is common to all the documents opened in XXE. For example, clicking Go Back may cause XXE to jump to another document. And if this other document has been closed by the user, XXE will attempt to reopen it.

The navigation history is automatically cleared after closing all the documents opened in XXE.

Go Back

  Go back in the navigation history.

Go Forward

  Go forward in the navigation history.

Show History

  Display a dialog box containing all the entries of the navigation history. Clicking on an entry closes the dialog box and then causes XXE to jump to the corresponding location.

Remember this Location

  Add the current location of the caret to the navigation history.

  Clicking this menu item is rarely needed as most commands which causes XXE to jump from one location to another automatically leave an invisible back mark behind them.

[9] XHTML example: link `<a href="conclusion.html#acknowledgments"> found in file `introduction.html``.