Implement the XmlRecordsWriter class that writes the extracted data in XML file.