move

Usage

move xpath location xpath

Aliases

mv

Description

move command acts exactly like copy, except that it removes the source nodes after a successful 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 don't belong to any document and are automatically destroyed unless some variable still contains to them.

This command returns a node-list consisting of nodes it created on the target locations.

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

See Also

xmove, copy, xcopy, insert, xinsert