Converting HTML to XML Documents

You can create an XML document from an HTML file using the HTML to XML document wizard.

Tip

 

Stylus Studio also has a document wizard that converts HTML to XSLT. See Creating a Stylesheet from HTML.

To run the HTML to XML document wizard:
1. Select File > Document Wizards from the menu.

The Document Wizards dialog box appears.

2. Double-click HTML to XML (or select the HTML to XML icon and click OK).

The HTML to XML dialog box appears.

Figure 121. HTML to XML Dialog Box

3. Enter the name of the HTML file you want to convert to XML in the Choose HTML File to Convert to XML field.
4. Click OK.

Stylus Studio opens the converted HTML file as an untitled XML document in the XML Editor.

 
Free Stylus Studio XML Training: