Import from HTML files

Another format that can be imported in an XML document is HTML.

Procedure 10.1. Import from HTML

  1. Select FileImport

  2. Select HTML file in the list and click the Next button.

    Figure 10.6. Import HTML file - step 1

    Import HTML file - step 1

  3. Type a name for the new document and click the Next button.

    Figure 10.7. Import HTML - step 2

    Import HTML - step 2

  4. Complete the HTML document name and click the OK button.

The resulted document will be an XHTML file containing a DOCTYPE declaration referring to the XHTML DTD definition on the Web and the parsed content of the imported file as XHTML Transitional or Strict depending on what radio button the user chose when performing the import operation.