Is in Java (sic!) any function which could change HTML placed in string into DOM Tree?
+1
A:
Plug: Have a look at jsoup (an open source Java HTML library I just released). Gives a CSS and jquery-like syntax to getting at the data, in addition to the tradition DOM methods.
Document doc = Jsoup.parse(html);
Elements links = doc.select("a[href]");
Jonathan Hedley
2010-02-04 06:22:01