Hi! (Using jTidy) Im converting a html file to xml. I have 2 problems that I need to know how to solve. Code: tidy.setXmlOut(true); tidy.setFixBackslash(true); // URL FixBackslash tidy.setRawOut(true); // RawOut - avoid mapping values > 127 to entities tidy.setXmlPi(true); // XmlPi - add <?xml?> for XML docs tidy.setQuoteAmpersand(true); // QuoteAmpersand - output naked ampersand as & tidy.setTidyMark(false); // TidyMark - add meta element indicating tidied doc tidy.setWraplen(99999); // Wraplen - default wrap margin The result file output: <?xml version="1.0"?> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <html> <head> <link rel="made" href="wsanchez@apple.com" /> <title>Welcome to Mac OS X!</title> ...........Received on Friday, 26 January 2001 09:45:51 UTC
This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:49 UTC