开发者

Html Parser using java [duplicate]

This question already has answers here: Closed 12 years ago.

Possible Duplicate:

Is there a validating HTML parser implemented in Java?

Hi,

Is there is any API which parse the HTML text using java.

All the function should in the format of Objects

e.g. In the following text i want to Parse the HTML file and parser should return me the list of tags , attribute ..

<开发者_Go百科HTML>
<BODY>
    <INPUT TYPE="text" value="100">
</BODY>
</HTML>

Thanks


Comprehensive list here


Refer to HTML/XML Parser for Java and Is there a validating HTML parser implemented in Java? and finally Which HTML Parser is the best?

These should answer your question nicely.


Regex's should work just fine.... cough

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜