broker.saveCollection(transaction, test);
String existHome = System.getProperty("exist.home");
File existDir = existHome==null ? new File(".") : new File(existHome);
File f = new File(existDir,"samples/biblio.rdf");
IndexInfo info = test.validateXMLResource(transaction, broker, XmldbURI.create("test.xml"),
new InputSource(f.toURI().toASCIIString()));
test.store(transaction, broker, info, new InputSource(f.toURI().toASCIIString()), false);
Collection dest = broker.getOrCreateCollection(transaction, XmldbURI.ROOT_COLLECTION_URI.append("destination"));
broker.saveCollection(transaction, dest);