Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

(jeffa) Re: How can I extract text from XML document and after that put the extracted text to original place?

by jeffa (Bishop)
on Jan 28, 2003 at 19:05 UTC ( [id://230687]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://230687]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-04-19 16:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found