Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: IP Address

From: the:optimizer:tiscali:it at: 9-Jan-2004 2:31

On Fri, 9 Jan 2004 09:11:13 +1300, A J Martin <[AJMartin--orcon--net--nz]> 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: > > 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. >
Yes thanks. I'll have a look to see if it can solve some problems I'm having with nested nodes. Isn't it in the library? I can't find it in my archive. (and was it there, I probably would have not looked at it... a script named ML.r that generates HTML and XML? Is it for MetaLanguages? MarkupLanguages?) Thanks again Mauro