Next: SXML, Previous: CSV, Up: MIME [Contents]
In Scheme, XML is handled with SXML. Another way is to use strings appending method.
(get "/xml" #:mime 'xml (lambda (rc) (:mime rc '(*TOP* (WEIGHT (@ (unit "pound")) (NET (@ (certified "certified")) "67") (GROSS "95"))))))