format xml as html to prevent the selfclosing tag