.
Developer Spot - Web Development Tutorials
 


Web Hosting Directory
Budget Web Hosting Linux Web Hosting Small Business Hosting
Windows Web Hosting Reseller Web Hosting Web Hosting Articles

Tip: Convert from HTML to XML with HTML Tidy

By Benoit Marchal
2003-12-16
Reader Rating: 5 out of 5
Bookmark Print Version
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>




Article 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


 Rate this article:   Poor          Excellent 


If you found this article interesting, you may want to read these as well:

» Better SOAP Interfaces With Header Elements

» Variable Substitution In XML Documents

» Create JPEGs Automatically With SVG

» Grab Headlines From A Remote RSS File



 
Development Tutorials
ASP
CGI & Perl
CSS
HTML
Java
JavaScript
Linux
PHP
XML




More Resources
Web Hosting Articles
Development Tutorials: CGI & Perl - CSS - HTML - Java - JavaScript - Linux - PHP - XML