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:35 -0400 Message-ID: <20100617193335.88GCZ.194462.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 32218 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:52 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-0004MD-US for guile-user@m.gmane.org; Thu, 17 Jun 2010 21:33:49 +0200 Original-Received: from localhost ([127.0.0.1]:55695 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPKqS-0000AN-6u for guile-user@m.gmane.org; Thu, 17 Jun 2010 15:33:48 -0400 Original-Received: from [140.186.70.92] (port=53917 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPKqH-00006K-DZ for guile-user@gnu.org; Thu, 17 Jun 2010 15:33:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OPKqG-0000Jo-B9 for guile-user@gnu.org; Thu, 17 Jun 2010 15:33:37 -0400 Original-Received: from cdptpa-omtalb.mail.rr.com ([75.180.132.120]:56972) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OPKqG-0000Jk-72 for guile-user@gnu.org; Thu, 17 Jun 2010 15:33:36 -0400 Original-Received: from cdptpa-web08-z01 ([10.127.132.99]) by cdptpa-smta01.mail.rr.com with ESMTP id <20100617193335689.NGHV20074@cdptpa-smta01.mail.rr.com>; Thu, 17 Jun 2010 19:33:35 +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:7885 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