Fix XML generation markup error