Lecture overview -- Keyboard shortcut: 'u'  Previous page: The HTML mirrors in LAML -- Keyboard shortcut: 'p'  Next page: Mirroring of HTML (2) -- Keyboard shortcut: 'n'  Lecture notes - all slides together  Annotated slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Alphabetic index  Help page about these notes  Course home    LAML - slide 10 : 24

Mirroring of HTML (1)

(f 'a1 "v1" 'a2 "v2" "Some text." "More text")
<f a1="v1" a2="v2"> Some text. More text</f>

The mirror function f distinguishes between attribute names, attribute values, explicit white space,character references,and content strings via the runtime types of the parameters together with their mutual position in the parameter list.