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

As the others have already kindly explained, please Read the Kind Manual. However, i feel inclined to throw a 'MU' at this problem. Why would one even want to spell check an XML document? XML is generally used to hold data that is later going to be transformed into something else. Why not run the spell checker before you even create the XML or during the transformation or, in the case of plain text, after the trasnformation is finished?

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)
  • Comment on (jeffa) Re: How can I extract text from XML document and after that put the extracted text to original place?

Replies are listed 'Best First'.
Re: (jeffa) Re: How can I extract text from XML document and after that put the extracted text to original place?
by mirod (Canon) on Jan 28, 2003 at 20:06 UTC

    What if your XML is a document, that will be later converted to HTML, PDF an text? Then it makes sense to spell-check it the XML instead of one of the target formats. Granted your XML editor probably has a spell checker already, but if you use a pure text editor that has no spell checking capability (ed? ;--) to create short XML documents, or if you receive them from other authors that do not spell check them, then it might make sense to spell check the XML as a separate step.