Correct closing XML element