in reply to How can I extract text from XML document and after that put the extracted text to original place?

This sounds like a perfect use for a SAX filter.

Process your file and event at a time. When you get a text event, run it through your spell checker. Write either the original event or the corrected text into a new file.

--
<http://www.dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg

  • Comment on Re: How can I extract text from XML document and after that put the extracted text to original place?