Hello All, I have an xml file that I read in and would like to search string for the occurence of a word(s) passed to my servlet. How can I loop through this to output each string found?
A better way might be to parse the xml with SAX, using a Handler which recursively tests the element value for your search string. If you are using XML, may as well use it as XML rather than a character stream. [ April 02, 2004: Message edited by: eammon bannon ]