The moose likes Java in General and the fly likes Parsing the documents Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Parsing the documents" Watch "Parsing the documents" New topic

Parsing the documents

Chenna Krishna
Ranch Hand

Joined: Dec 13, 2002
Posts: 34
Which parser I should use to parse the docs or text file?
My requirement is :
I have the document or text file and wants to generate formatted out put file like Html.
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
Do you have some sample input? PJ Plauger wrote a great set of essays called Programming on Purpose and one of them said the structure of the code often looks like the structure of the input. It's hard to guess what the program will look like without knowing what the data looks like.
Of course, another essay said the structure of the program often looks like the structure of the OUTPUT. Heh heh heh.

A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
I agree. Here's the link:
subject: Parsing the documents
It's not a secret anymore!