#define ONE 2

ScheXML

This is a program takes a S-expression representing an xml tree and prints the standard xml representation to standard output.

For example:

(xml '(html 
        (head
          (title "my title"))
             (body (img src "lazy.jpg" alt "i'm not lazy" /))))

Would spit out:

        
<html>
  <head>
    <title>my title</title></head>
  <body>
    <img src="lazy.jpg" alt="i'm not lazy" /></body></html>

Project goals:

What it doesn't do:

The lame-html.ss file includes my scheme code for handling variables from the cgi (including parsing variables and creating associated lists for variable retrieval).

lame-html.ss - ScheXML source

The cow.ss file is a sample webpage made using s-expressions. It can be run inside a cgi-bin on a machine with scheme installed (in my case, Petite Chez Scheme)

cow.ss - Sample file

Other places where I exist