final Collection newCollection = createCollectionPath(collection, collectionName);
if (newCollection == null)
{return Sequence.EMPTY_SEQUENCE;}
else
{return new StringValue(newCollection.getName());}
} catch (final XMLDBException e) {
logger.error("Unable to create new collection " + collectionName, e);
throw new XPathException(this, "failed to create new collection " + collectionName + ": " + e.getMessage(), e);
}