}
// create table section
Element tabSections = doc.createElementNS(ns, "TabularSections");
root.appendChild(tabSections);
OCMetadataTabularSectionCollection tabSecCollection = metadata.getTabularSections();
int tabSecColSZ = tabSecCollection.size();
for (int z = 0; z < tabSecColSZ; z++) {
OCTabularSectionMetadataObject tsmO = tabSecCollection.get(z);
OCMetadataAttributeCollection tsAttrMetadata = tsmO.getAttributes();
String tabSecName = tsmO.getName();
Element tabSection = doc.createElementNS(ns, "TabularSection");
tabSection.setAttribute("name", tabSecName);