user63898
user63898

Reputation: 30885

How to parse html and css to understand the layout of the page (java)

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 ?

Upvotes: 2

Views: 641

Answers (1)

karim79
karim79

Reputation: 342635

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:

http://java-source.net/open-source/html-parsers

Upvotes: 2

Related Questions