next up previous
Next: Character encoding and naming: Up: Abidjan Course on Hypertext Previous: A document description metalanguage:

Elementary grammar for document structure

Document tex2html_wrap_inline904 <HTML> Head Body </HTML>
Head tex2html_wrap_inline904 <HEAD> Title </HEAD>
Title tex2html_wrap_inline904 <TITLE> Char* </TITLE>
Body tex2html_wrap_inline904 <BODY> Object* </BODY>
Object tex2html_wrap_inline904 Heading | List | Table | Char
Heading tex2html_wrap_inline904 Heading tex2html_wrap_inline966 | ... | Heading tex2html_wrap_inline972
Heading tex2html_wrap_inline904 <Hn> ... </Hn>
List tex2html_wrap_inline904 <UL> Listbody </UL> |
<OL> Listbody </OL>
Listbody tex2html_wrap_inline904 <LI> Object* </LI>
Table tex2html_wrap_inline904 <TABLE> Tablerow* </TABLE>
Tablerow tex2html_wrap_inline904 <TR> Tabledata* </TR>
Tabledata tex2html_wrap_inline904 <TD> Object* </TD>

Elementary unit:
Char with ISO representation, encoded in ASCII, e.g. &eacute;, as in:
Universit&eacute; de Cocody,
C&ocirc;te d'Ivoire
(for Université de Cocody, Côte d'Ivoire)

Note:
The grammar is recursive and generates an infinite number of documents.



Dafydd Gibbon, Sat Oct 17 18:58:17 CEST 1998