{
Navigator nav = getNavigator();
String url = TESTS_ROOT + "xml/id.xml";
log("Document [" + url + "]");
Object document = nav.getDocument(url);
XPath contextpath = new BaseXPath("/", nav);
log("Initial Context :: " + contextpath);
List list = contextpath.selectNodes(document);
SimpleVariableContext varContext = new SimpleVariableContext();
varContext.setVariableValue(null, "foobar", "foobar");
varContext.setVariableValue(null, "foo", "foo");
getContextSupport().setVariableContext(varContext);
Iterator iter = list.iterator();