Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

question about WHO-PS-SYNTAX syntax in Parenscript

46 views
Skip to first unread message

Canhua

unread,
Aug 19, 2011, 12:33:17 AM8/19/11
to
hi, what's the parenscript WHO-PS-HTML syntax of this html snippet:
<p>t0<span>t1</span></p>

(who-ps-html (:p "t0" (:span "t1"))), evals to an error, saying function :span is not defined.

althrough CL-WHO accepts the following:

(who:with-html-output-to-string (s) (:p "t0" (:span "t1")))

Rob Warnock

unread,
Aug 19, 2011, 6:49:21 AM8/19/11
to
Canhua <comp.la...@googlegroups.com> wrote:
+---------------
+---------------

As does HTOUT:

> (with-output-to-string (s)
(with-html-output (s)
(:p "t0" (:span "t1"))))

"<P>t0<SPAN>t1</SPAN></P>"
>


-Rob

-----
Rob Warnock <rp...@rpw3.org>
627 26th Avenue <http://rpw3.org/>
San Mateo, CA 94403

arvid

unread,
Aug 20, 2011, 11:17:50 PM8/20/11
to

Canhua

unread,
Aug 22, 2011, 9:36:30 AM8/22/11
to
ok, thanks
0 new messages