OCTabularSectionManager tsm = documentObject.getTabularSection(tabSecName);
int tsRowCnt = tsm.size();
tabSection.setAttribute("rows", String.valueOf(tsRowCnt));
for (int g = 0; g < tsRowCnt; g++) {
OCTabularSectionRow row = tsm.get(g);
Element rowElement = doc.createElementNS(ns, "TabularRow");
tabSection.appendChild(rowElement);
}
}