Mauro wrote:
> Is there a good (but simple) XML and HTML builder in Rebol out there that
I can embed in my bot (something more than XMLgen)?

Yes. You could use my ML.r script, which generates HTML and/or XML from a
Rebol dialect. The following function shows my common envelope to surround a
CGI response:

Envelope: func [Head [block!] Body [block!]] [
 print rejoin [
  "Content-Type: " 'text/html newline
  newline
  ML compose/deep [<?xml version="1.0" encoding="ISO-8859-1" ?>
   <!DOCTYPE html PUBLIC
    "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN"
    "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg.dtd";>
   html [
    head [(Head)]
    body [(Body)]
    ]
   ]
  ]
 quit
 ]

If you're interested in it, let me know, and I'll send you the scripts.

-- 
Andrew J Martin
Speaking in tongues and performing miracles.
ICQ: 26227169
http://www.rebol.it/Valley/
http://valley.orcon.net.nz/
http://Valley.150m.com/
-><-

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to