This images shows how to drag and drop an XPath expression function into the transformation window.