(load (string-append laml-dir "laml.scm"))

(lib-load "xml-in-laml/xml-in-laml.scm")
(lib-load "xml-in-laml/mirrors/xhtml10-frameset-mirror.scm")
(lib-load "xml-in-laml/mirrors/xhtml10-transitional-mirror.scm")

  
(define html-props (list 'xmlns "http://www.w3.org/1999/xhtml")) (set! xml-validate-contents? #t) (set! xml-check-attributes? #t)
; no-overlap-checking
(set! xml-check-language-overlap? #f)
(define fs:html (xhtml10-frameset 'html))
(define fs:head (xhtml10-frameset 'head))
(define fs:title (xhtml10-frameset 'title))
(define fs:body (xhtml10-frameset 'body))
(define fs:p (xhtml10-frameset 'p))
(define fs:em (xhtml10-frameset 'em))
(define fs:noframes (xhtml10-frameset 'noframes)) (write-html '(raw prolog) (fs:html html-props (fs:head (fs:title "Third frameset example")) (frameset (frame 'name "fr2" 'src "transitional-1.html") (frame 'name "fr2" 'src "transitional-2.html") 'cols "40%,60%" (fs:noframes (fs:body (fs:p "Frames are" (fs:em "unfortunately") "not available"))) ) )) (write-html '(raw prolog) (html html-props (head (title "Left frame")) (body (p "This is the left frame")) ) (in-startup-directory "transitional-1.html") ) (write-html '(raw prolog) (html html-props (head (title "Right frame")) (body (p "This is the right frame. ") (p "This example illustrates a possible way to deal with the language overlap. Try process it.") ) ) (in-startup-directory "transitional-2.html") ) (end-laml)