How to normalise HTML documents

Xena normalises HTML documents using the HTML plugin. This plugin is part of the basic Xena application.

Many web browsers are very forgiving of faulty HTML. As a consequence, it is possible for pages which do not fully comply with the HTML standard to display properly within a web browser. This non-compliance can either be through poor quality coding, or actual corruption of the file. When normalising HTML, Xena attempts to correct faulty HTML into conforming XHTML. If your HTML is too corrupt, you may have to make manual changes to correct errors such as unknown tags.

The HTML normaliser only normalises single, simple HTML pages. It does not normalise or include any associated images or other resources attached to a HTML page.

Before normalising

Before you can normalise an HTML document, you will need to set the base directories. See Setting the Base Directories under Configuring Xena.

Normalising an HTML document

  1. Open xena.
  2. From the File menu, select Normalise File.
  3. Using the Open window, navigate to and select the HTML document that you wish to normalise.
  4. Click on Open.
    The Choose File Type dialog box will open, asking you to choose the file type of the document you are opening.
  5. Select HTML from the drop down list and click OK.
    The HTML document will now be displayed by Xena.

The HTML document has now been normalised into the Xena XHTML format.