+ public Element table(Object... headers) {
+ Element tbl = el("table", null);
+ tbl.appendChild(tr(true, headers));
+ return(tbl);
+ }
+
+ public Element tr(boolean head, Object... cells) {
+ Element tr = el("tr", null);
+ for(Object cell : cells)
+ tr.appendChild(el(head?"th":"td", asnode(cell)));
+ return(tr);
+ }
+