Yes, Agent Ransack will search XML files just like any other text files. If the text is not searching properly it might be because you have an XML IFilter installed. Try switching OFF the option 'Office/PDF Documents' in the Options tab and see if that helps.