chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] unbound variable: sxml:sxml->xml


From: Vok Vojwo
Subject: Re: [Chicken-users] unbound variable: sxml:sxml->xml
Date: Wed, 7 Dec 2011 17:32:16 +0100

2011/12/7 Vok Vojwo <address@hidden>:
>
> I was looking for the srl:sxml->xml function:
> http://modis.ispras.ru/Lizorkin/Apidoc/index.html#docfunc15826
>

I got it. I had to include "sxml-tools/serializer.scm" in
sxpath-lolevel.scm. After that it is possible to export srl:sxml->xml.
And it seems to work:

(display (srl:sxml->xml
          '(*TOP*
            (*PI* xml "version='1.0' encoding='UTF-8'")
            (error
             (code "-12")
             (message "No person found!")))))

Generates:

<?xml version='1.0' encoding='UTF-8'?>
<error>
  <code>-12</code>
  <message>No person found!</message>
</error>

Why is it not included if it is there?

Or why is there an sxml-serializer egg if the code is already part of
the SSAX libs, which is part of the sxpath egg?



reply via email to

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