[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tools to quote HTML tags?
- From: Rick Jelliffe <ricko@allette.com.au>
- To: xml-dev@lists.xml.org
- Date: Fri, 24 Aug 2001 12:31:57 +1000
From: "zuochang zheng" <zz@agnitas.de>
> Hi, there,
>
> I need to put a html page into XML file and thus have
> to quote the html tags in the page. Does someone know
> a tool to do the job? Thanks.
You don't need any tool!
Just make a CDATA section start
<![CDATA[
and end
]]>
and paste the HTML code in as it is. Then your data
is the HTML data.
So
<![CDATA[
<html>...</html>
]]>
is the same as
<html>...</html>
Is that what you want? If you want to convert the HTML tags into XML tags,then the best thing to do is to download the TIDY program, which will do most of the work for you. Or you may have an HTML editor available already which has a "Save As XML" option.
Cheers
Rick Jelliffe