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

RE: html in xml

From: Pearson, Chris C <chris.c.pearson@intel.com>
Date: Fri, 19 May 2000 09:11:15 -0700
Message-ID: <638EC1B28663D211AC3E00A0C96B78A804340871@orsmsx40.jf.intel.com>
To: "'Vincenzo Spoto'" <vspoto@rm.atos.it>, www-html@w3.org
One way is to use a CDATA section:
    <h3>Hello world</h3>
Any character content except "]]>" is valid in such a section.
-- Chris Pearson,
   Intel Corporation

-----Original Message-----
From: Vincenzo Spoto [mailto:vspoto@rm.atos.it]
Sent: Friday, May 19, 2000 2:07 AM
To: www-html@w3.org
Subject: html in xml

I have a problem. I have a not well formed html file and I want to insert it
into a xml field. For example
    <h3>Hello world</h3>

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 <mailto:vspoto@rm.atos.it> 
Thank you in advance.
Vincenzo Spoto
Via A. Rava' 124
00142 Roma
Tel. 06/590651
Fax 06/59065207
Received on Friday, 19 May 2000 12:11:34 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:53 UTC