colspan/rowspan in xml

Hi



I want to use colspan/rowspan .

I seen the xml syntax





value



value of third cell





I am using java to generate xml file.



CELL_TAG = xmldoc.createElementNS(null,“cell”);

CELL_TAG.setAttributeNS(null,“colspan”,“2”);

CELL_TAG.appendChild(xmldoc.createTextNode(“Data”));



So how to generate







This empty tag from java?

Thanks.



It is the same tag as other ones, the next code must be enough

    CELL_TAG = xmldoc.createElementNS(null,“cell”);


It will generate empty tag without any attributes