### Delete Action Properties

In a message flow, use a delete action to delete a context variable or a set of nodes specified by an XPath expression.

In the Message Flow Editor, click a delete action to display its properties in the Properties view. Use these properties pages to configure the selected delete action. The pages are:

- Delete
- Comment
- Namespaces
- Variables

The Delete page has the following options. Select Variable to delete a variable, or select XPath to delete an XPath expression.

Option | Description
--- | ---
Variable | Select this radio button to delete a context variable. Enter the name of the context variable to delete in the adjacent text field.
XPath | Select this radio button to delete all nodes selected by an XPath expression. Then: To create or edit the XPath expression, click <XPath> (or the XPath_fragment, if one is already defined) to display the XPath Expression Editor. After saving the expression, in the In Variable field, enter the context variable containing the nodes specified in the XPath expression.

Use the Comment page to add a comment, if desired:

Use the Namespaces page to see a list of defined namespaces or to create a new one.

Use the Variables page to see a list of defined context variables or to create a new one. For more information about context variables, see Message Context in the AquaLogic Service Bus User Guide.