// See superclass for documentation. Note that first argument is the path, not the name.
public org.xmldb.api.base.Collection createCollection(String path, Document configuration) throws XMLDBException {
checkOpen();
try {
Configuration config = new Configuration(configuration.getDocumentElement(), false);
col.createCollection(path, config);
// Traverse path to get newly created collection
org.xmldb.api.base.Collection col = this;
if (path.indexOf("/") != -1) {