Never been to DZone Snippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Convert from HTML to XHTML with HTML Tidy (See related posts)

This HTML Tidy example converts an html file into an xml file.

tidy -asxhtml -numeric < index.html > index.xml


example found from Tip: Convert from HTML to XML with HTML Tidy [ibm.com]

You need to create an account or log in to post comments to this site.


Click here to browse all 4858 code snippets

Related Posts