From: Arend P. van der Veen (apvanderveen at att.net) Date: Fri Feb 18 11:26:54 EST 2005 |
|
Hi, Following is a short example of how I am converting SXML to HTML in a cgi-bin program. It works. My question is whether this is the correct approach. Thanks for any comments, Arend #!/bin/sh ":";exec mzscheme -M errortrace -r $0 "$@" (require (lib "cgi.ss" "net") (lib "xml.ss" "xml") (lib "sxml-to-html.ss" "ssax") (lib "errortrace.ss" "errortrace")) (output-http-headers) (write-xml/content (SXML->HTML `(html (body "Hi"))))
Posted on the users mailing list. |
|