X4 Produktdokumentation

Shortcuts in the Mapping Editor 4

Here, you can find useful keyboard shortcuts for working with XSL stylesheets in the graphical view of the X4 Mapping Editor.


Actions via drag&drop

Link values to the target node with xsl:value-of

Drag and drop nodes in the source document to the target node

Link multiple values in the target node with xsl:value-of

Press the ALT key and drag all desired nodes in the source document to the target node

Result: In the select attribute of the created xsl:value-of element, all linked elements are stored one after the other and can then be linked with an XPath function such as concat() or logical operators.

Example: <xsl:value-of select="Element1 Element2">

Copy a node with xsl:copy-of

Press the CTRL key and drag nodes in the source document to the target node

Create for-each loops for nodes with xsl:for-each

Press the SHIFT key and drag nodes in the source document to the target node


Function

Key combination

Basic functions

Edit an item

ENTER

Execute the XSL transformation

F9

Insert element

INSERT

Insert attribute

ALT+INSERT

Insert text

CTRL+INSERT

Insert the enclosing parent element

CTRL+SHIFT+INSERT

Rename the element

ALT+SHIFT+R

Removes the selected node

DELETE

Format/indent code (in Source view)

CTRL+SHIFT+F

Copy node

Insert the selected node as the preceding node

CTRL+ALT+UP

Insert the selected node as the next node

CTRL+ALT+DOWN

Insert the selected node as the preceding parent node

CTRL+ALT+LEFT

Move the node

Move the selected node to the preceding node position

ALT+UP

Move the selected node to the next node position

ALT+DOWN

Move the selected node to the preceding parent node position

ALT+SHIFT+LEFT

Navigate the stylesheet tree

Switch to the parent element

CTRL+SHIFT+LEFT

Go to the next sibling node

CTRL+SHIFT+DOWN

Go to the previous element

CTRL+SHIFT+UP

Select connected nodes in the source document area and the stylesheet area

SHIFT+INSERT

Restore the last marker

ALT+SHIFT+DOWN