I need to convert HTML documents into valid XML, preferably XHTML. What’s the best way to do this? Does anybody know a toolkit/library/sample/…whatever that helps me to get that task done?
To be a bit more clear here, my application has to do the conversion automatically at runtime. I don’t look for a tool that helps me to move some pages to XHTML manually.
Convert from HTML to XML with HTML Tidy
Downloadable Binaries
JRoppert, For your need, i guess you might want to look at the Sources