// lQuery->setFileName("http://base/");
lQuery->setFileName("/home/adam/proj/marc2bibframe/xbin/");
- lQuery->compile(*qfile.get(), lHints);
+ lQuery->compile(*qfile, lHints);
zorba::DynamicContext* lDynamicContext = lQuery->getDynamicContext();
"/home/adam/proj/yaz/test/marc7.xml");
lDynamicContext->setVariable("marcxmluri", lItem);
- std::cout << lQuery << std::endl;
+ std::stringstream ss;
+
+ lQuery->execute(ss);
+
+ std::string result = ss.str();
+
+ std::cout << result << std::endl;
return true;
}