[racket] doctype in an xexpr?

From: Jordan Schatz (jordan at noionlabs.com)
Date: Sat Nov 26 23:44:28 EST 2011

I don't see any way to include a DOCTYPE declaration in an xexpr?

(define (start req)
  (response/xexpr
   "<!DOCTYPE html>"
   `(html (head (title "Hello world!"))
          (body (p "Hey out there!")))))

(except of course that doesn't work : )

Shalom,
Jordan



Posted on the users mailing list.