new attribute to term part - xPath
added new attribute to term part - xPath
added changes
removed unnecessary print statements
added changes for finding xpath
removing unnecessary print statement