ast-example.laml - A sample web document with a number of links. | Lecture 3 - slide 18 : 42 Program 1 |
(load (string-append laml-dir "laml.scm")) (laml-style "simple-xhtml1.0-strict-validating") (write-html '(prolog pp) (html (head (title "Demo Links")) (body (p "ACM has a useful" (a 'href "http://www.acm.org/dl" "digital library") ) (p "The following places are also of interest:") (ul (li (a 'href "http://www.ieee.org/ieeexplore/" "The IEEE")) (li "The" (a 'href "http://www.w3c.org" "W3C") "site") (li (a 'href "http://link.springer.de/link/service/series/0558/" "Lecture Notes in Computer Science"))) (p "Kurt Nørmark" (br) (a 'href "http://www.cs.auc.dk" "Dept. of Comp. Science") (br) (a 'href "http://www.auc.dk" "Aalborg University"))))) (end-laml)