From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: online conversion support from xsd to rng? Date: Thu, 9 Dec 2010 08:19:09 -0800 Message-ID: References: <87hbep8psi.fsf@stupidchicken.com> <8739q9jbic.fsf@ambire.localdomain> <87mxoggsz1.fsf@ambire.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1291936901 6272 80.91.229.12 (9 Dec 2010 23:21:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 23:21:41 +0000 (UTC) Cc: 'Chong Yidong' , joakim@verona.se, 'Emacs developers' To: "'Thien-Thi Nguyen'" , "'Andrew W. Nosenko'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 10 00:21:36 2010 Return-path: Envelope-to: ged-emacs-devel@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 1PQpno-0007G8-1J for ged-emacs-devel@m.gmane.org; Fri, 10 Dec 2010 00:21:32 +0100 Original-Received: from localhost ([127.0.0.1]:54061 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQpnm-0006JL-UY for ged-emacs-devel@m.gmane.org; Thu, 09 Dec 2010 18:21:30 -0500 Original-Received: from [140.186.70.92] (port=60573 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQjEJ-0004B1-JL for emacs-devel@gnu.org; Thu, 09 Dec 2010 11:20:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PQjEI-0007ee-Cd for emacs-devel@gnu.org; Thu, 09 Dec 2010 11:20:27 -0500 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]:58154) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PQjEH-0007eY-Ur for emacs-devel@gnu.org; Thu, 09 Dec 2010 11:20:26 -0500 Original-Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oB9GKIbY008396 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 9 Dec 2010 16:20:19 GMT Original-Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by rcsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oB9GKF1B017804; Thu, 9 Dec 2010 16:20:16 GMT Original-Received: from abhmt001.oracle.com by acsmt355.oracle.com with ESMTP id 860569051291911553; Thu, 09 Dec 2010 08:19:13 -0800 Original-Received: from dradamslap1 (/10.159.244.236) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 09 Dec 2010 08:19:10 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <87mxoggsz1.fsf@ambire.localdomain> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 Thread-Index: AcuXo23uxC7L2ajtSeqxRfDBhFMOmAAGPMEw X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:133552 Archived-At: > 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.