if (col == null) {
result.append("Collection not found! " + parser.getPath());
return result.toString();
}
String[] cols = col.listCollections();
String dbLoc = parser.getDatabase();
String parserPath = parser.getPath();
StringBuffer baseHref = new StringBuffer();
baseHref.append("<a href=\"" + contextPath + "/?/" + dbLoc);
if(parserPath.startsWith("/") || dbLoc.endsWith("/")) {