Graphical Support for Common XSLT Instructions and Expressions

Using special symbols, called blocks, you can quickly and easily create complex XSLT without writing any code, as shown in Figure 249:

Figure 249. XSLT Operation, Function, and Logical Operator Blocks

Blocks can be created

Automatically, when you link one node to another. For example, if you link repeating elements in the source and target documents, Stylus Studio automatically creates an xsl:for-each instruction block in the mapper.

Manually, by selecting the instruction or expression you want to create from the shortcut menu on the mapper canvas (right click on the mapper canvas to display this menu).

By reverse-engineering the XSLT that you write on the XSLT Source tab - when you click the Mapper tab, XSLT that can be represented graphically is displayed on the mapper canvas.