<%@ page language="C#" masterpagefile="~/templates/Master1.master" inherits="Page" keywords="Convert HTML to XML, XHTML Editor, convert HTML to XHTML, convert XHTML to XML, working with HTML and XML, XHTML Editor, XHTML Tool" %>

Convert HTML to XML

An awful lot of information, like this table of country codes from the Unicode Consortium's Web site (www.unicode.org), is available as HTML. HTML is also a popular way to distribute information within an enterprise — it can be viewed in any Internet browser, and it's easily printed.

<%=ConfigurationManager.AppSettings[ can convert any HTML to XML" width="400" height="264"> (click to enlarge)

But what if you want to get your hands on the data in the HTML file so you can use it in an XML application? <%=ConfigurationManager.AppSettings["SS"]%>'s HTML-to-XML Document Wizard quickly converts any HTML to standard XML with the click of a button! To get started, just click File > Document Wizards on the <%=ConfigurationManager.AppSettings["SS"]%> menu.

The HTML-to-XML Document Wizard is one of dozens offered by <%=ConfigurationManager.AppSettings[" border="0" width="455" height="273"/>

Pick a File and Click OK!

To run the HTML-to-XML Document Wizard, all you need to do is select the HTML document you want to convert to XML and click OK. <%=ConfigurationManager.AppSettings["SS"]%> can convert any HTML document, and the Browse feature makes it easy to find both local and network files.

After you click OK, <%=ConfigurationManager.AppSettings["SS"]%> quickly converts the file to standard XML and displays the XML document using the XML Editor's Text View.

Even complex tables are easily rendered as XML (click to enlarge)

Of course, all of <%=ConfigurationManager.AppSettings["SS"]%>'s XML editing tools and features are available for you to work with at this point — Sense:X intelligent editing; the ability to change among the synchronized Text, Tree, and Grid editing views by clicking a tab; <%=ConfigurationManager.AppSettings["SS"]%> can even create an XML Schema based on the new XML document.

In summary, <%=ConfigurationManager.AppSettings["SS"]%>'s HTML-to-XML Document Wizard makes it easy to take advantage of data presented as HTML, quickly converting any HTML file you provide to standard XML.

Next XML Data Conversion Utility: XML-to-HTML Converter

Try Stylus HTML/XHTML & Web Design Tools

Download a free trial of our award-winning XPath tools today!

Related Features