55. 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]