try {
Configuration conf = new Configuration(confRepo, ontoRepo);
if (conf.hasWarnings()) System.err.println(conf.getWarningsString());
Selection selected = conf.select(dataRepo);
selected = conf.format(dataRepo, selected);
Document out = selected.render();
if (opts.isDebug()) {
System.out.println(conf);
} else {
DOMSource in = new DOMSource(out);
StreamResult res = new StreamResult(System.out);