Re: I tried to convert www.yahoo.com to xhtml but fail

I haven't tried converting to XML but I've successfully used Tidy to convert
yahoo.com to XHTML.  Here are the settings I'm using:

tidy.setXHTML(true);
tidy.setMakeClean(true);
tidy.setFixComments(true);
tidy.setNumEntities(true);
tidy.setBreakBeforeBR(false);
tidy.setQuoteNbsp(true);
tidy.setHideEndTags(false);
tidy.setQuiet(true);
tidy.setIndentContent(false);
tidy.setQuoteAmpersand(true);
tidy.setQuoteMarks(true);
tidy.setSmartIndent(false);
tidy.setTidyMark(false);
tidy.setWrapAttVals(true);

I'm sure you don't need all of these, but these are just the ones I'm using.
Good luck.

Received on Thursday, 6 July 2000 12:25:43 UTC