On Saturday 05 March 2005 05:13 pm, Josef 'Jupp' Schugt wrote:
> If not running as CGI, Ruby programs using class CGI expect name=value
> pairs on standard input. Is there a way of suppressing this if one is
> (ab)using CGI to generate HTML for other purposes than CGI scripts (like
> generating HTML mails)?

You might consider using Builder::XmlMarkup for generating HTML.

http://builder.rubyforge.org/ 

-- 
-- Jim Weirich    jim / weirichhouse.org     http://onestepback.org
-----------------------------------------------------------------
"Beware of bugs in the above code; I have only proved it correct, 
not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)