2006-11-28

"Conforming XHTML 1.0 Strict Template"

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<title>Conforming XHTML 1.0 Strict Template</title>

</head>

<body>

</body>
</html>

2006-11-21

Perl: A stub CGI program giving XML response (Win32)

#!d:/Perl/bin/Perl.exe

#^ActiveState ActivePerl

print "Content-type: text/xml; charset=utf-8\n";
print "Status: 200 OK\n";
print "\n";

print "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n";
print "<i am=\"the\">walrus</i>";