added textanalysis for xml