chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] sxml->html


From: felix winkelmann
Subject: Re: [Chicken-users] sxml->html
Date: Mon, 18 Oct 2004 07:25:15 +0200

On Sun, 17 Oct 2004 11:51:23 +0200, Michele Simionato
<address@hidden> wrote:
> Hi Felix!
> 
> I was browing trough spiffy and playing with sxml->html; I get something
> unexpected and I would like to know if it is the right behavior or not.
> Here is the issue:
> 
> (sxml->html '(h1 (@ (href "http://www.call-with-current-continuation.org";))
>                  hello felix))
> 
> prints
> 
> <h1 href="http://www.call-with-current-continuation.org";>hellofelix</h1>
> 
> with no spaces between hello and felix. Is this ok? It is pretty easy to
> "fix" that, but maybe it should not be fixed. I am a total beginner
> for what concerns SXML, so I thought I would ask here.
> 

You should use a string as the content of the h1 element, like in
"hello felix". An alternative method of transforming SXML (SHTML)
to HTML is in htmlprag (which actually gives an error, since it
expects the content to be a string, not symbols.


cheers,
felix




reply via email to

[Prev in Thread] Current Thread [Next in Thread]