On Fri, 9 Jan 2004 09:11:13 +1300, A J Martin <[EMAIL PROTECTED]> 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 -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
