[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: online conversion support from xsd to rng?
From: |
Lennart Borgman |
Subject: |
Re: online conversion support from xsd to rng? |
Date: |
Fri, 10 Dec 2010 02:10:53 +0100 |
On Fri, Dec 10, 2010 at 1:06 AM, Štěpán Němec <address@hidden> wrote:
> "Drew Adams" <address@hidden> 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?
- Re: online conversion support from xsd to rng?, (continued)
- Re: online conversion support from xsd to rng?, joakim, 2010/12/01
- Re: online conversion support from xsd to rng?, Chong Yidong, 2010/12/07
- Re: online conversion support from xsd to rng?, joakim, 2010/12/07
- Re: online conversion support from xsd to rng?, Andrew W. Nosenko, 2010/12/08
- Re: online conversion support from xsd to rng?, Thien-Thi Nguyen, 2010/12/08
- RE: online conversion support from xsd to rng?, Drew Adams, 2010/12/09
- Re: online conversion support from xsd to rng?, Štěpán Němec, 2010/12/09
- Re: online conversion support from xsd to rng?,
Lennart Borgman <=
- RE: online conversion support from xsd to rng?, Drew Adams, 2010/12/09
- Re: online conversion support from xsd to rng?, Stephen J. Turnbull, 2010/12/09
- Re: online conversion support from xsd to rng?, Štěpán Němec, 2010/12/10
- Re: online conversion support from xsd to rng?, Stephen J. Turnbull, 2010/12/10