Page 12 : 19
Programmatic WWW authoring
Where is Denmark?
Where is Aalborg?
* Programmatic Authoring
Premises
Programmatic authoring
An example of programmatic authoring
* The HTML Mirrors
Mirroring of HTML (1)
Mirroring of HTML (2)
Mirroring of HTML (3)
Mirroring of HTML (4)
Properties of the HTML mirrors
* Document styles
Document styles
XML in LAML
LENO: An XML-in-LAML example language
* Reflections and conclusions
Reflections
Conclusions
Properties of the HTML mirrors
An HTML mirror is automatically derived from a DTD
Well-formed and valid documents
Guaranties generation of well-formed and valid HTML documents
Structural document representation
The mirror functions return
abstract syntax trees
which can be rendered as 'HTML text'
HTML layout
Supports optional
pretty printing
of the resulting HTML code
Convenient rendering of reserved HTML characters
'<'
and
'>'
are rendered as the corresponding character entities