Fixed EndTag of the readXml methods