Using HTML tidy to convert HTML to XML

HTML tidy is an open source tool that is used to convert the html documents to xml or xhtml. It is not possible to ignore all the old web pages which are not compatible with xhtml and hence it is wise to convert them to a web page that is in line with the xhtml standards.

This conversion is done by using the open source tool called html tidy. JTidy a java language version is also available and API for integration with your applications is also available.

You can use the command prompt to convert a web page to xhtml standards. The following command helps you to tidy up your old html to xhtml.

tidy -asxhtml -numeric <oldpage.html> newpage.xml

This command converts the oldpage.html to newpage.xml. It's that simple. The issues in the oldpage.html are highlighted during the conversion by tidy. You should know the differences between html and xhtml so that you know what is being done by that program while converting the old html documents to new standards.



SetApp - 100 Apps for everything you ever wanted to do on Mac

FREE Subscription

Subscribe to our mailing list and receive new articles
through email. Keep yourself updated with latest
developments in the industry.

Name:
Email:

Note : We never rent, trade, or sell my email lists to
anyone. We assure that your privacy is respected
and protected.

_______________________________________






 

 

FREE Subscription

Stay Current With the Latest Technology Developments Realted to XML. Signup for Our Newsletter and Receive New Articles Through Email.

Name:

Email:

Note : We never rent, trade, or sell our email lists to anyone. We assure that your privacy is respected and protected.

 

 

Add to My Yahoo!

Visit XML Training Material Guide Homepage

 

 

“Amazon and the Amazon logo are trademarks of Amazon.com, Inc. or its affiliates.”

Copyright - © 2004 - 2019 - All Rights Reserved.