parse meta tags in Java

后端 未结 3 1063
终归单人心
终归单人心 2021-01-22 21:51

I have a collection of HTML documents for which I need to parse the contents of the tags in the section. These are the only HTML tags whose values I\'m

3条回答
  •  情深已故
    2021-01-22 22:51

    If it suits your application you can use Tidy to convert HTML to valid XML, and then use as much XPath as you like!

提交回复
热议问题