How to parse html and css to understand the layout of the page (java)
-
06-07-2019 - |
Question
i need to find away to parse html and css layout to be able to transform it to to property language that understand simple html with inline css on each html element how i approach to such task ?
Solution
You need to read about DOM parsing using Java, with support for parsing HTML documents. One such example is Xerces.
Read more into Java HTML DOM parsing, also here is a pretty comprehensive list of available parsers:
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow