[REBOL] Re: IP Address
From: petr:krenzelok:trz:cz at: 8-Jan-2004 22:49
A J Martin wrote:
>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:
>
Why do you use below doctype instead of e.g. XHTML Transitional one?
Just curious ...
>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.
>
Thanks,
-pekr-<