From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Problems with xml-parse-string Date: Wed, 22 Sep 2010 13:09:05 +0200 Organization: Programmerer Ingebrigtsen Message-ID: References: <87pqw6d7nz.fsf@stupidchicken.com> <87zkvaiked.fsf@stupidchicken.com> <87vd5ymptn.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1285154749 27958 80.91.229.12 (22 Sep 2010 11:25:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 22 Sep 2010 11:25:49 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 22 13:25:46 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 1OyNSL-0004Z4-AV for ged-emacs-devel@m.gmane.org; Wed, 22 Sep 2010 13:25:46 +0200 Original-Received: from localhost ([127.0.0.1]:52873 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OyNSI-0004Ok-Uw for ged-emacs-devel@m.gmane.org; Wed, 22 Sep 2010 07:25:43 -0400 Original-Received: from [140.186.70.92] (port=43813 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OyNRH-0003rj-FH for emacs-devel@gnu.org; Wed, 22 Sep 2010 07:24:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OyNCP-00086y-8l for emacs-devel@gnu.org; Wed, 22 Sep 2010 07:09:21 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:60134) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OyNCO-00086i-TJ for emacs-devel@gnu.org; Wed, 22 Sep 2010 07:09:17 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OyNCM-00061E-4O for emacs-devel@gnu.org; Wed, 22 Sep 2010 13:09:14 +0200 Original-Received: from cm-84.215.34.171.getinternet.no ([84.215.34.171]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Sep 2010 13:09:14 +0200 Original-Received: from larsi by cm-84.215.34.171.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Sep 2010 13:09:14 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 22 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.34.171.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAADFBMVEWGgYfPycCroqNQSVom dPOZAAACaElEQVQokU3Rb0gTcRzH8a+3Jtss5gMn5qORnuwOobGeBFkTjWIgadt+2+keRMlkDckH PRIirhPBVpCad23LB5dux/kzMPFRMdj8c7KtYE8SjJ5IJRQIbbcCJ2vXoCd9nr34PHyD9t/A4pvX t71bNbXYggjOhuYeLU+GLgZsLlR/RPC6GHJcSw5Dq8DoWidDlg016AK9YGSzfctsuYvywiZabbN3 VJs2e0mmDgFxY42yJYhCkE1ihHwIoRH+DWSoMH83LCA+jJ5BPjGCjHdMvr3wcDe8P9WKShvZl8rK VQfsUxXvyaVa9nciX4L9M5f9n5Vdx1vPkR4U+8Po6I+d1M0J3S786ntKpZ2a2ZIGFsrNR6gg4zX9 OOGEwvG0/8qApFP9T4qQqVVGy2p/Uy36tQ6NfH3CzeS16dRpKGpj979xjPHC1q0D2C65nd8do0rP F38Jsof952lOUtfsFhZqvK6gFXqKWvFwDQhvuZyxrjwOVCsMfApo50AyMXT6jw9yE8ccIUuYYas+ OBxsnLG+ikhtLrMF9qYUNtrAkKzbboGPnXK6RfUoznnTOhRMfGqh5FFSc/E0ZLY6/vVQrSrk1oHA SV6IJ5tpqNwOIikuxMLJdgaqc9wQNZUg3NSsGbTmRUysdnJuknPCz/YGcSUyFgvH8CB8sHI2TEes kSWbGWrsC2qcNwaoe7ODUHMz5ICQGzIORa/DsSNQR4khe+l+2FH95IDIBcgbs9dAAXlJBM7QhXEC CkCIou4kj2NYhu1s92KDgVM91IMFODB0LxLAqs9zqQXIYBBpKGasJkKCPJaXMFuk4/Eg+gsd9B5i 6XDguAAAAABJRU5ErkJggg== Mail-Copies-To: never X-Now-Playing: The Skull Defekts's _The Temple_: "Urban Ritual" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:Clw9VUIN3GYEq/XKEhLza5kaEiA= 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:130604 Archived-At: Leo writes: > +2 for the -buffer variants. Maybe -region is better (more flexible). True. > It'd be extremely useful for emacs to have a set of solid and stable xml > API. Having worked with a lot of DOM representations (recursive searches for elements, etc), I think the one I picked for the libxml2 thing really is the most pleasant (and fast) to work with. :-) But that would be my opinion, wouldn't it? There's very little if-ing necessary. It's all very regular. If the cdr of anything is a list, you can descend into it, and everything does have a cdr -- there are no atoms sprinkled here and there that you have to special-case all over the place... -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen