Delete Node

The Delete Node action removes an element or an attribute from a specified Xml file.  To use this action you provide a path to an existing Xml Document by selecting from a list of known folders on the client target and then providing a sub path and file name.

You then provide an XPath expression to identify the node that you want to remove.  If more than one node matches the XPath expression, you can choose one of five actions:

      Delete all nodes (the default action)

      Delete only the first node found

      Delete only the last node found

      Don’t delete any nodes

      Abort the update

Prepare Stage

Verifies permissions to modify the Xml file.

Execute Stage

The action backs up the Xml file then deletes the Xml node, performing the operation as defined by the action properties.

Cleanup Stage

Removes the backup file created during the execute stage.

Rollback Stage

Restores the xml file with the file backed up in the execute stage.