Re: new to jTidy, need help urgently

"Raymond Tan" <qpoint@bigfoot.com> wrote:
	the file could be converted with warnings. However, it could not be =
	viewed as an XML file in explorer unless i delete the following heading =
	from the document
	<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
	
Well, of COURSE not.  That's a DTD for HTML 4.0 Transition,
and HTML 4.0 uses SGML, not XML.  That's like trying to use a C header
with a Fortran compiler.  Use the DTD for XHTML 1.0, or possibly XHTML 1.1.
Go to http://www.w3c.org/ and follow the HTML link on the left to find out
about XHTML.

Received on Sunday, 3 March 2002 21:03:27 UTC