XPath path = new DefaultXPath("//root");
assertTrue(path.booleanValueOf(doc));
path = new DefaultXPath("//root2");
assertFalse(path.booleanValueOf(doc));
}
// Implementation methods
// -------------------------------------------------------------------------
protected void testXPath(String xpathExpression) {