From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: How to use xml src block as data input? Date: Sun, 29 Apr 2018 17:14:57 +0200 Message-ID: <87fu3e3uz2.fsf@gnu.org> References: <87efk214uq.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49307) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fCo2a-0007sY-K3 for emacs-orgmode@gnu.org; Sun, 29 Apr 2018 11:15:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fCo2Z-0003l8-QF for emacs-orgmode@gnu.org; Sun, 29 Apr 2018 11:15:04 -0400 In-Reply-To: <87efk214uq.fsf@gmail.com> (stardiviner's message of "Fri, 30 Mar 2018 13:59:09 +0800") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: stardiviner Cc: org-mode Hi, stardiviner writes: > How can I use this xml data as input in another src block? You would need to enclose the xml code within #+begin_example instead of #+begin_src. Also, elfeed-xml-parse-region will not work on a string, it expects other arguments, so you might need to write your own parsing function, maybe based on libxml-parse-xml-region if your version of Emacs has libxml support. HTH, -- Bastien