954,545 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

html rendering or parsing (swing) problem

I am currently working in one swing application. I need to display html contents in some
window. In swing we are having HTMLEditorPane that can display HTML contents on window (not in browser).
Now this HTML contents is not well structured. like starting and ending with html tag
inside it head tag and body tag etc. It may contain more then one body tags. Now the
problem is to check whole html content and removing unnecessary tags adding some attributes
of tag (like adding some style to p tag). How is it possible to check full html content and
normalize it? If you have any example for it please provide.

regent_royal
Newbie Poster
20 posts since May 2008
Reputation Points: 6
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You