From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Newsgroups: gmane.lisp.guile.user Subject: Re: Converting s-expressions to XML Date: Thu, 17 Jun 2010 15:33:32 -0400 Message-ID: <20100617193332.CCSQF.194460.root@cdptpa-web08-z01> References: <20100617150052.GA4076@raven.wolf.lan> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1276803233 32217 80.91.229.12 (17 Jun 2010 19:33:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 17 Jun 2010 19:33:53 +0000 (UTC) To: Josef Wolf , guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Jun 17 21:33:51 2010 connect(): No such file or directory Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OPKqS-0004MB-EH for guile-user@m.gmane.org; Thu, 17 Jun 2010 21:33:48 +0200 Original-Received: from localhost ([127.0.0.1]:55691 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPKqR-00009j-Jm for guile-user@m.gmane.org; Thu, 17 Jun 2010 15:33:47 -0400 Original-Received: from [140.186.70.92] (port=53912 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPKqG-00005s-W3 for guile-user@gnu.org; Thu, 17 Jun 2010 15:33:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OPKqF-0000Je-Mj for guile-user@gnu.org; Thu, 17 Jun 2010 15:33:36 -0400 Original-Received: from cdptpa-omtalb.mail.rr.com ([75.180.132.121]:58040) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OPKqF-0000JD-KG for guile-user@gnu.org; Thu, 17 Jun 2010 15:33:35 -0400 Original-Received: from cdptpa-web08-z01 ([10.127.132.99]) by cdptpa-smta02.mail.rr.com with ESMTP id <20100617193332667.EUHJ24513@cdptpa-smta02.mail.rr.com>; Thu, 17 Jun 2010 19:33:32 +0000 In-Reply-To: <20100617150052.GA4076@raven.wolf.lan> X-Priority: 3 (Normal) Sensitivity: Normal X-Originating-IP: X-detected-operating-system: by eggs.gnu.org: Solaris 10 (1203?) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:7884 Archived-At: ---- Josef Wolf wrote: > Hello, > > I am trying to write a (simple) function to convert s-expressions to XML. Guile 1.9/2.x has sxml modules. So (use-modules (sxml simple)) (define (sexp->xml s) (sxml->xml s)) Ought to get you pretty close. (untested) -Dale