assertCountXPath(221, context, "//*");
assertCountXPath(20, context, "//*[local-name()='article']");
assertCountXPath(20, context, "//article");
assertCountXPath(20, context, "/*/*[@code]");
assertCountXPath(1, context, "/moreovernews/article[@code='13563275']");
DOMXPath xpath = new DOMXPath("/moreovernews/article[@code='13563275']");
List results = xpath.selectNodes(getContext(context));
Object result = results.get(0);
assertValueOfXPath("http://c.moreover.com/click/here.pl?x13563273", result, "url");
xpath = new DOMXPath("/*/article[@code='13563275']");
results = xpath.selectNodes(getContext(context));
result = results.get(0);
assertValueOfXPath("http://c.moreover.com/click/here.pl?x13563273", result, "url");
xpath = new DOMXPath("//article[@code='13563275']");
results = xpath.selectNodes(getContext(context));
result = results.get(0);
assertValueOfXPath("http://c.moreover.com/click/here.pl?x13563273", result, "url");
xpath = new DOMXPath("//*[@code='13563275']");
results = xpath.selectNodes(getContext(context));
result = results.get(0);
assertValueOfXPath("http://c.moreover.com/click/here.pl?x13563273", result, "url");
xpath = new DOMXPath("/child::node()/child::node()[@code='13563275']");
results = xpath.selectNodes(getContext(context));
result = results.get(0);
assertValueOfXPath("http://c.moreover.com/click/here.pl?x13563273", result, "url");
xpath = new DOMXPath("/*/*[@code='13563275']");
results = xpath.selectNodes(getContext(context));
result = results.get(0);
assertValueOfXPath("http://c.moreover.com/click/here.pl?x13563273", result, "url");
}
}