Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Parsing the documents

 
Chenna Krishna
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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.
Chheers,
KR
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic