From: Lennart Borgman <lennart.borgman@gmail.com>
To: "Štěpán Němec" <stepnem@gmail.com>
Cc: Chong Yidong <cyd@stupidchicken.com>,
Thien-Thi Nguyen <ttn@gnuvola.org>,
"Andrew W. Nosenko" <andrew.w.nosenko@gmail.com>,
Emacs developers <emacs-devel@gnu.org>,
joakim@verona.se, Drew Adams <drew.adams@oracle.com>
Subject: Re: online conversion support from xsd to rng?
Date: Fri, 10 Dec 2010 02:10:53 +0100 [thread overview]
Message-ID: <AANLkTi=P0S5X8h1QZh9dctPKhrQXuKE4B3TwfLG4Zejp@mail.gmail.com> (raw)
In-Reply-To: <87mxoe5w50.fsf@gmail.com>
On Fri, Dec 10, 2010 at 1:06 AM, Štěpán Němec <stepnem@gmail.com> wrote:
> "Drew Adams" <drew.adams@oracle.com> writes:
>
>>> I think there are two areas of primary concern:
>>> (a) conversion between XML and Lisp trees (nested lists)
>>> (b) routines for manipulating the tree
>>
>> Once you've converted XML to Lisp you lose all XML-level access, transformation,
>> etc. IOW, once in Lispland, no XPath, XQuery, XSLT,... If your processing of
>> XML also involves, well, XML processing (e.g. XQuery transformations) that is
>> part of the given, then you've lost that.
>>
>> IOW, conversion to conses and processing using Lisp can be useful, but depending
>> on your context there can be a cost.
>
> This is nonsense. XPath and friends are not bound to the external
> representation of the data in any way. They operate on the DOM tree. So
> as long as your XML conversion to sexp format is lossless (which it
> should be, of course), you lose nothing, only gain the advantages of
> saner format (i.e. sexp) both for humans and the machine -- you just
> need an XPath etc. implementation for your language.
Is there such an implementation in for example elisp?
next prev parent reply other threads:[~2010-12-10 1:10 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
2010-12-09 16:19 ` Drew Adams
2010-12-10 0:06 ` Štěpán Němec
2010-12-10 1:10 ` Lennart Borgman [this message]
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='AANLkTi=P0S5X8h1QZh9dctPKhrQXuKE4B3TwfLG4Zejp@mail.gmail.com' \
--to=lennart.borgman@gmail.com \
--cc=andrew.w.nosenko@gmail.com \
--cc=cyd@stupidchicken.com \
--cc=drew.adams@oracle.com \
--cc=emacs-devel@gnu.org \
--cc=joakim@verona.se \
--cc=stepnem@gmail.com \
--cc=ttn@gnuvola.org \
/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.