X4 Produktdokumentation

Shortcuts in the Mapping Editor

Useful shortcuts for working with XSL stylesheets within the graphical view of Mapping Editor

Drag&Drop Actions

Reference a value to a target node using xsl:value-of

Drag a node from the source document to the target node

Reference multiple values into a target node using xsl:value-of

Keep the Alt key pressed and drag all desired nodes from the source document to the target node

Result: An xsl:value-of element will be created whose select attribute contains all referenced nodes. In a next step, this list of nodes can be correlated by using an XPath function like concat()or logical operators.

Example: <xsl:value-of select="Element1Element2">

Copy a node using xsl:copy-of

Keep the Ctrl key pressed, and drag a node from the source document to the target node

Create a for-each loop for a node using xsl:for-each

Keep the Shift key pressed, and drag a node from the source document to the target node


Function

Shortcut

Basic functions

Edit element

Enter

Run XSL transformation

F9

Insert element

Ins

Insert attribute

Alt+Ins

Insert text

Ctrl+Ins

Insert surrounding parent element

Ctrl+Shift+Ins

Rename a element

Alt+Shift+R

Remove selected node

Del

Format/indent the code (in Source view)

Ctrl+Shift+F

Copying nodes

Insert selected node as preceding sibling

Ctrl+ Alt+Up

Insert selected node as following sibling

Ctrl+ Alt+Down

Insert selected node as preceding parent

Ctrl+Alt+Left

Moving nodes

Move selected node up

Alt+Up

Move selected node down

Alt+Down

Move to parent element (pull up)

Alt+Shift+Left

Navigating trough the stylesheet tree

Go to parent node

Ctrl+Shift+Left


Go to next node

Ctrl+Shift+Down


Go to previous node

Ctrl+Shift+Up


Select connected nodes in the source pane and stylesheet pane

Shift+Ins


Restore last selection

Alt+Shift+Down