Helping ordinary people create extraordinary websites!
HOME TUTORIALS SCRIPTS WEB HOSTING BLOG FORUM
Get Our Newsletter
Email:

Tip: Convert from HTML to XML with HTML Tidy

By Benoit Marchal
2003-12-16


Listing 1. index.html (an excerpt)

<HTML>

<HEAD>
<TITLE>Journey to Windsor</TITLE>
</HEAD>
<BODY>
<TABLE>
<TR>
<TD width=15></TD>
<TD><FONT size="3"face="Helvetica">
Journey to Windsor<BR>
Beno&icirc;t Marchal<BR>
July 2003<BR>
<BR>
<A href="mailto:bmarchal@pineapplesoft.com">
bmarchal@pineapplesoft.com</A>
</FONT></TD>
</TR>
</TABLE>
<CENTER><TABLE border=3>
<TR><TD>
<A href="pages/dscn0824.html">
<IMG src="thumbnails/dscn0824.jpg" border="0" alt="dscn0824">
</A><br>
<FONT size="3" face="Helvetica">
dscn0824.jpg<br>
A bright, red mailbox inside the castle. It seems oddly familiar
in an historic setting.<br>
Windsor Castle <br>
&copy; 2003, Beno&icirc;t Marchal
</FONT>
</TD></TR>
</TABLE></CENTER>
</BODY>
</HTML>


Tutorial Pages:
» Preserve Legacy Web Sites With This Handy Utility
» Tool Of The Trade
» Listing 1. index.html (an excerpt)
» Tidying Up
» Listing 2. index.xml (an excerpt)
» Further Processing
» Listing 3. index-transform.xml (an excerpt)
» Listing 4. cleanup.xsl
» Conclusion


First published by IBM developerWorks


Related Tutorials:
» Starting with XML
» Performing Client-Side XSL Transformations
» Create a Google Sitemap for your Web Site
» XML and Scripting Languages
» Parsing Comma-Separated Values
» XML Security Suite: Increasing the Security of E-Business

Ask A Question
characters left.