Import from HTML Files

HTML is one of the formats that can be imported as an XML document. The steps needed are:
  1. Go to menu File > Import > HTML File ....
    The Import HTML dialog box is displayed.
  2. Enter the URL of the HTML document.
  3. Select the type of the result XHTML document:
    • XHTML 1.0 Transitional
    • XHTML 1.0 Strict
  4. 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.