all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thien-Thi Nguyen <ttn@gnuvola.org>
To: "Andrew W. Nosenko" <andrew.w.nosenko@gmail.com>
Cc: Chong Yidong <cyd@stupidchicken.com>,
	joakim@verona.se, Emacs developers <emacs-devel@gnu.org>
Subject: Re: online conversion support from xsd to rng?
Date: Wed, 08 Dec 2010 16:54:58 +0100	[thread overview]
Message-ID: <87mxoggsz1.fsf@ambire.localdomain> (raw)
In-Reply-To: <AANLkTikmSpSZuKbH97nkpTek-fekU5MTFz9f6JjjQ3Fq@mail.gmail.com> (Andrew W. Nosenko's message of "Wed, 8 Dec 2010 12:45:26 +0200")

() "Andrew W. Nosenko" <andrew.w.nosenko@gmail.com>
() Wed, 8 Dec 2010 12:45:26 +0200

   You don't need to port the libxslt from the libxml2 to libexpat --
   libxml2 already used in emacs

   $ ldd emacs | grep libxml2
           libxml2.so.5 => /usr/local/lib/libxml2.so.5 (0x804240000)

I think there are two areas of primary concern:
(a) conversion between XML and Lisp trees (nested lists)
(b) routines for manipulating the tree

Personally (in a Scheme context, which is similar to Emacs Lisp), i
use ‘ttn-do xml2sexp’ for (a), and ad-hoc car/cdr climbing for (b),
avoiding libxslt altogether.  The idea is to flee the angry brackets
into the loving parens immediately.  (I briefly looked at the pattern
matching / transform primitives of XSLT and was horrified.)



  reply	other threads:[~2010-12-08 15:54 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-30  9:37 online conversion support from xsd to rng? joakim
2010-12-01  9:57 ` joakim
2010-12-07 17:18 ` Chong Yidong
2010-12-07 22:42   ` joakim
2010-12-08  1:31     ` Thien-Thi Nguyen
2010-12-08  8:19       ` joakim
2010-12-08 15:58         ` Thien-Thi Nguyen
2010-12-08 10:45       ` Andrew W. Nosenko
2010-12-08 15:54         ` Thien-Thi Nguyen [this message]
2010-12-09 16:19           ` Drew Adams
2010-12-10  0:06             ` Štěpán Němec
2010-12-10  1:10               ` Lennart Borgman
2010-12-10  1:47               ` Drew Adams
2010-12-10  1:52               ` Stephen J. Turnbull
2010-12-10  6:49                 ` Štěpán Němec
2010-12-11  2:17                   ` Stephen J. Turnbull

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

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

  git send-email \
    --in-reply-to=87mxoggsz1.fsf@ambire.localdomain \
    --to=ttn@gnuvola.org \
    --cc=andrew.w.nosenko@gmail.com \
    --cc=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    --cc=joakim@verona.se \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.