views:

221

answers:

1

Hello all 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 ?

+1  A: 

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

karim79
as i asked , simple html is no problem , i need to understand somehow also css/css2 styleshite also