W3C home > Mailing lists > Public > www-html@w3.org > May 2000

html in xml

From: Vincenzo Spoto <vspoto@rm.atos.it>
Date: Wed, 17 May 2000 04:29:57 -0400 (EDT)
Message-ID: <002c01bfbfd9$e7cc5640$f2020159@rm.atos.it>
To: <www-html@w3.org>
Hi,
I have a problem. I have a not well formed html file and I want to insert it into a xml field. For example

<myXMLtag>
    <html>
    <body>
    <h3>Hello world</h3>
    </body>
    </html>
</myXMLtag>

When I parse the xml file I obtain an error because the parser don't find the <html> tag in my dtd. 
Is there a way to ignore html tags? Note: my html file isn't well formed! So I can't use a dtd for html tags.

My email is vspoto@rm.atos.it

Thank you in advance.

Vincenzo Spoto
ATOS S.p.A
Via A. Rava' 124
00142 Roma
Tel. 06/590651
Fax 06/59065207
Received on Friday, 19 May 2000 05:07:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:43 GMT