move

Usage

move xpath location xpath

Aliases

mv

Description

move command acts exactly like copy, except that it removes the source nodes after a succesfull copy. Remember that the moved nodes are actually different nodes from the original ones (which may not be obvious when moving nodes within a single document into locations that do not require type conversion). So, after the move, the original nodes do not exist neither in the document itself nor any nodelist variable.

See copy for more details on how the copies of the moved nodes are created.

See Also

copy, xmove, insert, xinsert