33. followLink

Parameter syntax:

'first' | 'target' | 'next' | 'previous' | 'swap'

This command is unusable unless a link scheme is associated to the document being edited. This association is done by the means of a linkScheme configuration element in XMLmind XML Editor - Configuration and Deployment.

first

An element acting as an anchor (that is, a link target) must be implicitly or explicitly selected. Scrolls to and selects the first element of the document which is a link to this anchor (if found).

target

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

next

An element acting as a link must be implicitly or explicitly selected. Scrolls to and selects following link element targeting the same anchor (if found).

previous

An element acting as a link must be implicitly or explicitly selected. Scrolls to and selects preceding link element targeting the same anchor (if found).

swap

An element acting as an anchor or acting as a link must be implicitly or explicitly selected. Scrolls to and selects opposite link end (if found).

Examples:

followLink swap
follwLink next

See also command selectById.