To edit a function as a textual XPath expression using the XPath Edit dialog:

  1. Double-click the expression folder in the canvas pane, in the area bordering the function icon. The Edit XPath dialog appears.

    If you double-click the center icon instead, it brings up the Edit Function dialog.

  2. Edit the XPath Expression, as desired. To add the XPath location path for the Description node, for example, place the cursor after the first parameter. Press Ctrl + Space and double-click /ns0:PurchaseOrder to select it.

    /ns0:PurchaseOrder is inserted in the expression and the drop-down menu is populated with the possible children of the /ns0:PurchaseOrder node.

  3. Double-click the Description entry to select it. You can also put the mouse cursor on an entry, and press the Enter key to select it.

  4. Click OK in the Edit XPath dialog.