unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: <dsmich@roadrunner.com>
To: Josef Wolf <jw@raven.inka.de>, guile-user@gnu.org
Subject: Re: Converting s-expressions to XML
Date: Thu, 17 Jun 2010 15:33:32 -0400	[thread overview]
Message-ID: <20100617193332.CCSQF.194460.root@cdptpa-web08-z01> (raw)
In-Reply-To: <20100617150052.GA4076@raven.wolf.lan>

---- Josef Wolf <jw@raven.inka.de> 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





  reply	other threads:[~2010-06-17 19:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-17 15:00 Converting s-expressions to XML Josef Wolf
2010-06-17 19:33 ` dsmich [this message]
2010-06-17 19:33 ` dsmich
  -- strict thread matches above, loose matches on Subject: below --
2010-06-17 19:21 dskr
2010-06-17 19:50 ` Thien-Thi Nguyen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100617193332.CCSQF.194460.root@cdptpa-web08-z01 \
    --to=dsmich@roadrunner.com \
    --cc=guile-user@gnu.org \
    --cc=jw@raven.inka.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).