W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2002

RE: Converting HTM to XML

From: Reitzel, Charlie <CReitzel@arrakisplanet.com>
Date: Mon, 28 Jan 2002 13:15:39 -0500
Message-ID: <B5C79DDBC655D311B6BD0008C7E64D76013C1B08@exchange.arrakisplanet.com>
To: "'Mervyn & Marica Jones'" <jones@netdial.co.za>, html-tidy@w3.org
To be as specific as possible, see:

Output XHTML 

DOCTYPE handling

HTML Scraping (extract <body> contents)

How To Set Config/Options Generally

One thing to be aware of when converting to XHTML is that your in-line
Javascript (or VBScript or what have you) may conflict with reserved XML
characters.  Browser script functions within <script></script> tags are
CDATA escaped so that ampersands(&) and less than/greater than signs (<,>)
are passed to the scripting language unaltered.  But it is not possible to
do this for in-line event handlers (e.g. onclick="if ( a > b && c < d) { a =
d; }; return false;").  You will have to modify these handlers to make a
simple function call and move the actual code to a <script> tag.

take it easy,

-----Original Message-----
From: Mervyn & Marica Jones [mailto:jones@netdial.co.za]
Sent: Saturday, January 26, 2002 2:54 PM
To: html-tidy@w3.org
Subject: Converting HTM to XML

I visited your website and found a similar topic bu I was unable to access
the answer.  Is there an example anywhere of the original HTML file and the
new XML file??  I have a project to complete.  Please help

Thank you
Marica Jones (jones@netdial.co.za)
Received on Monday, 28 January 2002 13:16:10 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:51 UTC