I am looking to parse HTML and divide into into several pages(chapters) based of heading styles. For example, if i have an html with 6 heading 1 entries, I am trying to make 6 different documents of it.
Has anybody done this before, what would be the best library to use. Is there any code available out there.
language used: JAVA