49. join
Prev | Chapter 6. Commands written in the Java™ programming language | Next

## 49. join

Parameter syntax:

    [ 'after' ]? [ '[implicitElement]' ]?

Joins explicitly or implicitly selected element to its preceding sibling, an element of same type. This gives a single element containing the child nodes of the two joined elements.

If the `after` option is used, joins explicitly or implicitly selected element to its following sibling, an element of same type.

This command is the inverse command of split.

Examples:

    join after
    join [implicitElement]
    join after[implicitElement]

Prev | Up | Next
48. insertTextOrMoveDot | Home | 50. joinOrDeleteChar