Class<?> protocol=clazz;
Document xmldoc=null;
DocumentBuilderFactory factory=DocumentBuilderFactory.newInstance();
DocumentBuilder builder=factory.newDocumentBuilder();
DOMImplementation impl=builder.getDOMImplementation();
xmldoc=impl.createDocument(null, "table", null);
Element tbody=createXMLTree(xmldoc);
Map<String,String> nameToDescription = new TreeMap<String,String>();
//iterate fields
for(Class clazzInLoop=clazz;clazzInLoop != null;clazzInLoop=clazzInLoop.getSuperclass()) {