fixing xmls self-closing tag conversions