Input text can be processed in
Text processed in HTML mode is left unchanged (except for comments). Based on the context, the text is either
In expression mode the following lexical tokens can occur:
White space (including new lines) is ignored in expression mode, unless needed to separate two tokens. In HTML mode, the following character sequences are ignored by the existing heitml interpreter. This enables cooperation with existing HTML editors. It is not considered a feature of the heitml language itself but only of the current implementation.
'<%", "%>', '<!--heitml>', '<heitml-->', '<server>', '</server>', '<script language="heitml">', '<!--heitml--></script>'.These strings can be used to escape heitml tags and so to make file editable by a conventional HTML editor. The current heitml interpreter has functions to automatically insert and remove these strings from source files.
heitml is written in pages, just like HTML. A heitml page is processed as a procedural program producing an HTML page which is sent through the Internet to the browser on the fly.
Although this is how heitml works on a technical level, it is probably not the way you should think while writing heitml pages.
When creating heitml applications you can view heitml and HTML as a single integrated language that produces nicely formatted output on your screen. The fact that there are two languages (heitml and HTML) and two programs (heitml on the Web Server and a Browser on the Client computer) is completely transparent to both programmers and end users alike and should have no effect on their thinking.
A heitml page is normally executed top down, left to right. Normal text and HTML Tags are executed by just copying them to the output. As soon as a heitml tag or a user-defined tag is encountered it is executed. Execution means to evaluate the parameters and to perform a certain action, as described below for every heitml tag.
Kinds of Tags
heitml distinguishes between heitml, HTML, and User-defined Tags. A Tag generally has the form:
The type of Tag is implicitly known by the identifier. heitml has several built-in heitml Tags that are specified in this document. All Tags defined by the user using the def and defenv Tags are user-defined Tags. All other Tags are HTML Tags and remain undisturbed by heitml. User-defined Tags can override HTML Tags, but not heitml Tags.
Several heitml and User-defined Tags can be combined and written within one pair of brackets < > separated by semicolons:
After some heitml Tags without parameters the semicolon can be omitted. You cannot use the semicolon after the static heitml include tag, e.g. to combine several static include tags.
© 1996-2023 H.E.I. All Rights Reserved.