;;;; in Text, HTML, and XML formats. This includes hyperlinking
;;;; capability and sub-objects.
;;;;
-;;;; $Id: mop.lisp,v 1.67 2003/04/29 09:39:45 kevin Exp $
+;;;; $Id: mop.lisp,v 1.68 2003/05/06 22:13:38 kevin Exp $
;;;;
;;;; This file is Copyright (c) 2000-2002 by Kevin M. Rosenberg
;;;;
#+ho-normal-esdc
(setq cl:*features* (delete :ho-normal-esdc cl:*features*))
+(defun lisp-type-is-a-string (type)
+ (or (eq type string)
+ (and (listp type) (some #'(lambda (x) (eq x string)) type))))
+
(defun value-type-to-lisp-type (value-type)
(case (if (atom value-type)
value-type
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Apr 2000
;;;;
-;;;; $Id: views.lisp,v 1.28 2003/05/06 22:00:42 kevin Exp $
+;;;; $Id: views.lisp,v 1.29 2003/05/06 22:13:38 kevin Exp $
;;;;
;;;; This file is Copyright (c) 2000-2002 by Kevin M. Rosenberg
;;;;
:xhtml-link-labels :xml-link-labels :ie-xml-link
:ie-xml-link-labels)
(or print-formatter
- (string-equal (write-to-string type) "cdata")
- (string-equal (write-to-string type) "string")))
+ (lisp-type-is-a-string type))))
(setq func `(kmrcl:xml-cdata ,func)))
(push func value-func))
)))