{
Navigator nav = getNavigator();
String url = TESTS_ROOT + "xml/namespaces.xml";
log("Document [" + url + "]");
Object document = nav.getDocument(url);
XPath contextpath = new BaseXPath("/", nav);
log("Initial Context :: " + contextpath);
List list = contextpath.selectNodes(document);
SimpleNamespaceContext nsContext = new SimpleNamespaceContext();
nsContext.addNamespace("alias", "http://fooNamespace/");
nsContext.addNamespace("bar", "http://barNamespace/");
nsContext.addNamespace("voo", "http://fooNamespace/");
nsContext.addNamespace("foo", "http://fooNamespace/");