});
assertEquals(2, number.intValue());
// 6. Test boolean
expr = "count(/test:root/*) = 2";
boolean bool = processor.evaluateAsBoolean(document1, expr);
assertEquals(true, bool);
// 7. Test expression in the root element context
expr = "/test:root/test:element1";
node = processor.selectSingleNode(document1.getDocumentElement(), expr);