Currently, I am working on a project that involves analyzing web pages. To parse HTML, I am utilizing a Java library which results in an org.w3c.dom
document.
I am looking to extract all CSS information related to a particular tag node within my dom
document, including any overrides or inheritance. Can anyone guide me on how to achieve this? While researching online, I came across some CSS parsers that also produce an org.w3c.dom
document, but I'm uncertain about how to combine them effectively.