This code will read XML file using JAVA w3c package. and save data in java objects.