reusing invocation context to avoid unnecessary recompile of xpath
expressions