A process for the preparation of a transparent gel comprising xyloglucan, and chitosan in the ratio of 1 to 6: 1 to 8 by weight, comprising the steps of: [a] preparing a tamarind slurry by dissolving coarsely powdered tamarind in water wherein the ratio of tamarind powder to water is in the range of 1 to 10: 10 to 20 at a pH of 2 to 10 preferably 4 to 8; [b] heating the slurry as obtained in step (a) at 10 to 100 degree C preferably 40 to 80 degree C followed by cooling to a temperature of 25 to 33 degree C and precipitating it with alcoholic solvents like benzyl alcohol, isopropanol, isobutanol, ethanol, methanol, n-butanol and the like to obtain xyloglucan; [c] drying the precipitated xyloglucan as obtained in step [b] under vacuum or freeze drying to obtain powder; [d] dispersing the powdered xyloglucan as obtained in step [c] in water or any other solvents selected from DMSO, DMF, THF, dichloromethane, hexane, benzene, acetone, acetic acid, formic acid and the like at a pH in the range of 7 to 14 to obtain a mixture; [e] stirring the mixture as formed in step [d] with oxidative reagents selected from nitric acid, nitrous oxide, cerium compounds, perchlorate, periodate, permanganate and the like at a temperature of 2 to 10 degree C for 1 to 15 hours; [f] terminating the reaction of step [e] by adding 1 to 10 ml of diols selected from propylene glycol, ethylene glycol, or any other diols and purifying the liquid product by a method such as dialysis or column chromatography to obtain a pure oxidized sample; [g] mixing the pure oxidized sample as obtained in step [f] with 1 to 10% chitosan at a pH in the range of 1 to 7; [h] stirring the mixture as obtained in step [g] for 1 to 5 min to obtain the desired transparent gel. [a] preparing a tamarind slurry by dissolving coarsely powdered tamarind in water wherein the ratio of tamarind powder to water is in the range of 1 to 10: 10 to 20 at a pH of 2 to 10 preferably 4 to 8; [b] heating the slurry as obtained in step (a) at 10 to 100 degree C preferably 40 to 80 degree C followed by cooling to a temperature of 25 to 33 degree C and precipitating it with alcoholic solvents like benzyl alcohol, isopropanol, isobutanol, ethanol, methanol, n-butanol and the like to obtain xyloglucan; [c] drying the precipitated xyloglucan as obtained in step [b] under vacuum or freeze drying to obtain powder; [d] dispersing the powdered xyloglucan as obtained in step [c] in water or any other solvents selected from DMSO, DMF, THF, dichloromethane, hexane, benzene, acetone, acetic acid, formic acid and the like at a pH in the range of 7 to 14 to obtain a mixture; [e] stirring the mixture as formed in step [d] with oxidative reagents selected from nitric acid, nitrous oxide, cerium compounds, perchlorate, periodate, permanganate and the like at a temperature of 2 to 10 degree C for 1 to 15 hours; [f] terminating the reaction of step [e] by adding 1 to 10 ml of diols selected from propylene glycol, ethylene glycol, or any other diols and purifying the liquid product by a method such as dialysis or column chromatography to obtain a pure oxidized sample; [g] mixing the pure oxidized sample as obtained in step [f] with 1 to 10% chitosan at a pH in the range of 1 to 7; [h] stirring the mixture as obtained in step [g] for 1 to 5 min to obtain the desired transparent gel.