public InformationFragment getFragment(int index,
RecordFormatSpecification spec) {
//If multiple dbs are implemented then change the first two arguments of
//the return records.
if (spec.getFormat().getName().equals("xml")) {
return new DOMTree(dbName, "DefaultCollection", null,
getXmlRecordForHit(index, spec), spec);
} else { //we can use SUTRS information fragment for html and sgml
//they all store info the same.
return new SUTRS(dbName, "DefaultCollection", null,