I am looking for an effective HTML to XHTML library in Java. I have tried HTML Tidy but it causes this error:
XML Parsing Error: mismatched tag. Expected: </meta>.
Do you recommend any better library?
I appreciate your help.
I am looking for an effective HTML to XHTML library in Java. I have tried HTML Tidy but it causes this error:
XML Parsing Error: mismatched tag. Expected: </meta>.
Do you recommend any better library?
I appreciate your help.
what do you mean by "accurate" results? html is not valid legal xml so making it into xml will obviously change it. have you tried tagsoup ? i've used it before to xml-ize html.
also, you might want to look at a few similar questions that have been asked here before