r3076: *** empty log message ***
[kmrcl.git] / web-utils.lisp
index 2854064398afdf87367a32638eb8a6c3eae13367..4fe21b9ab7e99a5c7800e2e7b872c5ff15e0a0df 100644 (file)
@@ -7,12 +7,13 @@
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  Apr 2000
 ;;;;
-;;;; $Id: web-utils.lisp,v 1.3 2002/10/09 14:24:47 kevin Exp $
+;;;; $Id: web-utils.lisp,v 1.7 2002/10/16 23:34:33 kevin Exp $
 ;;;;
-;;;; This file, part of Kmrcl, is Copyright (c) 2002 by Kevin M. Rosenberg
+;;;; This file, part of KMRCL, is Copyright (c) 2002 by Kevin M. Rosenberg
 ;;;;
-;;;; Kmrcl users are granted the rights to distribute and use this software
-;;;; as governed by the terms of the GNU General Public License.
+;;;; KMRCL users are granted the rights to distribute and use this software
+;;;; as governed by the terms of the Lisp Lesser GNU Public License
+;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL.
 ;;;; *************************************************************************
 
 (in-package :kmrcl)
 
 ;;; HTML/XML constants
 
-(defvar *std-xml-header* 
-  (format nil 
-  "<?xml version=\"1.0\" ?>~%<?xml-stylesheet type=\"text/css\" href=\"/umlsclass.css\" ?>~%~%"))
+(defvar *standard-xml-header* 
+  #.(format nil "<?xml version=\"1.0\" ?>~%<?xml-stylesheet type=\"text/css\" href=\"http://b9.com/umlsxml.css\" ?>~%~%"))
 
-(defun std-xml-header ()
-  *std-xml-header*)
+(defvar *standard-html-header* "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML//EN\">")
 
+(defvar *standard-xhtml-header*
+  #.(format nil "<?xml version=\"1.0\" standalone=\"yes\"?>~%<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3c.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">"))
+
+  
 ;;; URL Functions
 
 (defvar *base-url* "")
@@ -46,4 +49,3 @@
                                            (car var) "=" (cadr var) "&")))
                                  vars)))
                 "")))
-