#lang scribble/doc @(require scribble/manual) @title{xml-writer} A generative XML writer. You can pause in the middle of the document creation to output stuff iteratively as you generate it, and it will stream properly across the wire instead of building up as one complete document and then sending. See examples/ for how it works. pretty much @scheme[(xml:gen (a (b 'c 42 (d "e"))))] for general XML, and try @scheme[(require synx/xml-writer/xhtml)] for added xhtml convenience such as @scheme[(document (head "title" "style.css") (gen (p "This is the body")))]. If you avoid pitfalls like putting non-block tags in the body, you can actually produce HTML 1.1//STRICT documents with this library!