Lecture overview -- Keyboard shortcut: 'u'  Previous page: How to query HTML documents -- Keyboard shortcut: 'p'  Next page: Being a little more advanced... [Section] -- Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  Annotated slide -- Keyboard shortcut: 't'  Alphabetic index  Help page about these notes  Course home    Slide 20 : 26

Another way to query HTML documents
LAML supports an extraction of information from HTML documents in a way similar to X-path
(define doc
 (html 
  (head 
   (title "Table Examples"))
  (body 
    (p 'id "5" "First paragraph") 
    (p (em "Second") "paragraph")
    (div
      (p "Third paragraph")))))