Re: HTML-TEMPLATE confusion
- From: Chaitanya Gupta <mail@xxxxxxxxxxxxxxxxxx>
- Date: Mon, 23 Jul 2007 12:41:30 +0530
Sard wrote:
(require 'html-template)
(defparameter my-str "Hello")
(defparameter my-template "<!-- TMPL_VAR foo -->")
(let ((tp (html-template:create-template-printer my-template)))
(html-template:fill-and-print-template tp '(:foo my-str)))
Prints my-str instead of Hello. The my-str symbol doesn't seem to be
evaluated. What am I missing?
See QUOTE(1) and LIST(2).
Chaitanya
1. http://www.lispworks.com/documentation/HyperSpec/Body/s_quote.htm#quote
2. http://www.lispworks.com/documentation/HyperSpec/Body/f_list_.htm#listST
.
- References:
- HTML-TEMPLATE confusion
- From: Sard
- HTML-TEMPLATE confusion
- Prev by Date: Re: Is Lisp a Blub?
- Next by Date: Re: ANNOUNCE openmcl-amd64-debian
- Previous by thread: Re: HTML-TEMPLATE confusion
- Next by thread: Re: Which Lisp on FreeBSD
- Index(es):