Re: Problems with entities HTML -> XML! (new to list)

On Fri, 26 Jan 2001, Niels Peter Strandberg wrote:

> Hi!
> 
> (Using jTidy)
> 
> I'm converting a html file to xml.  I have 2 problems that I
> need to know how to solve.

I recommend you either set "output-xhtml: yes" as the XHTML
DTD's will pull in the entity declaration used in XHTML.

You could specify your own doctype or just strip the existing doctype.
e.g. "doctype: omit". The HTML 3.2 DTD is not an XML DTD, and hence
not a good idea.


Regards,

-- Dave Raggett <dsr@w3.org> or <dave.raggett@openwave.com>
W3C Visiting Fellow, see http://www.w3.org/People/Raggett 
tel/fax: +44 122 578 3011 (or 2521) +44 771 213 7629 (mobile)

Received on Friday, 26 January 2001 10:23:35 UTC