As a total aside: Use the XML collection to produce the CGI output, rather than the Perl-ish approach of writing one line after another. See How to Use Scheme. -- Matthias