public void testSelectBefore() {
try {
TemplateTokenizer tokenizer = new TemplateTokenizer(ParserTest.class.getResourceAsStream("full.html"));
TemplateParser parser = new TemplateParser(tokenizer, Expressions.cambridgeExpressionLanguage);
TemplateDocument t = parser.parse();
FragmentList fragments = t.select("before /html/body/div[3]");
StringWriter builder = new StringWriter();
for (Fragment f : fragments) {
f.eval(bindings, builder);