How to Remove an XPath Expression To remove an XPath Expression: Select the XPath expression/function icon in the Canvas pane. Right-click the icon and select Delete from the context menu.