Deleting XML elements

The dynamic value {DELETE} must be entered into the Value column in order to delete XML elements.

The XML file books.xml is loaded into the resource xmlResource. A Book element containing the element Author with the value Teacher is to be deleted.

The content of the resource xmlResource is saved to the file booksDeleted.xml that is located in the path defined in the test configuration parameter ExampleDirectoryXML.

Deleting XML elements