Retrieve objects by an Xpath defined in a string
Install from the Marketplace or import the "RetrieveByXPathString_action.mpk" Java action into a module of your choosing.
Generate an XPath string and pass it to the Java action. The Java action will retrieve results filtered by that XPath.