User Tools

Site Tools


HTML OUTPUT

Guide Section: Generate Output and a Report | 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. Object references can be used in the HTML as well.

For displaying numerical data, it is often useful to use object references 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. We recommend an Author have some ability with HTML. See Brief Introduction to HTML to get you started, with further resources found online.

An easy way to get started using HTML is to use an HTML capable word processor.

HTML OUTPUT
Optional Parameters:
File:Name of file containing HTML to be displayed in EASA→Results page report, object references allowed
Text:HTML to be displayed in Results page report, object references allowed
Delimiter:Character to delimit any object references 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

Even though all parameters are labeled as optional, you must set a value for either File: or Text:

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

URLs used in the File: or Text: parameters are relative. For example to include an image file from an EASAP folder in the HTML, just use:

  • <img src=’graph.jpg’/>