User Tools

Site Tools


HTML OUTPUT

Guide Section: Generating Reports and Output | EASAP Tree: OUTPUT Branch


HTML OUTPUT is used to rapidly create impressive looking reports within EASA. HTML is the main language for the content displayed on the EASA web pages, as well as the wider internet. Similar to TEXT OUTPUT, HTML content can be entered directly via the Text: parameter or read in via the File: parameter. DORs can be used in the HTML as well.


Tip: For displaying numerical data, it is often useful to use DORs that include inline units and number formatting, for example: %Stress [MPa] 10.3f%


There are many advantages to using HTML OUTPUT instead of TEXT OUTPUT. A few are as follows:

  • Only one file is needed to create your report body.
    Titles and headings can all be formatted within the HTML file.
  • Features such as bulleted lists and hyperlinks can be included.
  • Links to other document files can be included.
  • Tables can be used to group and organize data.

The main disadvantage of using the HTML OUTPUT is that it requires knowledge of HTML. As an author some ability with HTML is recommended. See Brief Introduction to HTML to get you started. In addition, there is no shortage of literature on the topic of HTML online.


Tip: A quick way to create HTML is to use an HTML capable word processor.


HTML OUTPUT
Optional Parameters:
File:Name of file containing HTML to be displayed in Results page report. DORs allowed
Text:HTML to be displayed in Results page report. DORs allowed
Delimiter:Character to act as delimiter in DORs in File: or Text: above. default→%
Show if:Logical expression, if TRUE then HTML shown, if FALSE then HTML NOT shown
Encoding:Text encoding used in File: default→US-ASCII

Note: Even though all parameters are labeled as optional, you must set a value for either the File: or Text: parameter. An error message will be displayed if neither of these two parameters are set.


Note: HTML written for HTML OUTPUT should not include structural page tags such as <html>, <head> and <body>. Just the contents of the body.


Note: URLs used in the File: or Text: parameters are relative. (ie. to include an image file from an EASAP folder in the HTML, just use <imgsrc=’graph.jpg’/>)