HTML is one of the formats that can be imported as an XML document. The steps needed
are:
-
Go to menu .
The Import HTML dialog
box is displayed.
-
Enter the URL of the HTML document.
-
Select the type of the result XHTML document:
- XHTML 1.0 Transitional
- XHTML 1.0 Strict
-
Click the OK button.
The resulting document is an XHTML file containing a DOCTYPE declaration that references
the XHTML DTD definition on the Web. The parsed content of the imported file is transformed to
XHTML Transitional or XHTML Strict depending on what radio button you chose when performing
the import operation.