[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] sxml->html
From: |
Kirill Lisovsky |
Subject: |
Re: [Chicken-users] sxml->html |
Date: |
Wed, 20 Oct 2004 23:59:32 -0400 (EDT) |
Hello!
On Mon, 18 Oct 2004, felix winkelmann wrote:
> 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.
>
Just some additional links:
SXML specification may be found at:
http://okmij.org/ftp/Scheme/SXML.html
Also, drop a look at:
http://ssax.sourceforge.net/#Documentation
SXML maillist:
http://lists.sourceforge.net/lists/listinfo/ssax-sxml
Best regards,
Kirill.