Removes the selected elements, attributes, comments or text nodes. A node alone on its line is removed together with its line. The root element cannot be removed.