callZorbaCalls("test1.xml", "<a><b>Hallo</b><b>Lukas</b><b>1</b></a>");
callZorbaCalls("test1.xml", "<a><b>Hallo</b><b>Tim</b><b>1</b></a>");
}
private void callZorbaCalls(String filename, String value) throws Exception {
InMemoryStore store = InMemoryStore.getInstance();
Zorba zorba = Zorba.getInstance(store);
String query = "declare variable $test external;" + "$test//b";
XQuery xquery = zorba.compileQuery(query);
xquery.setVariableAsDocument("test", filename, value);
Iterator iter = xquery.iterator();