Remove error message on MS Excel 2010

Excel says the file is corrupted if the XML contains empty xml nodes.
Those modifications try to no emit xml nodes if they are empty.