To evaluate an xpath expression within Epic, open a document, position the cursor in the proper context, and type in the following function at the command line:
oid_xpath_string(
oid,
expr);
For Example:
eval oid_xpath_string(oid_caret(),"child::*[local-name()='title']")