From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Borkowski Subject: How to extract raw link and description from the "link" element? Date: Tue, 24 Feb 2015 01:29:34 +0100 Message-ID: <87ioesm9sh.fsf@wmi.amu.edu.pl> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56050) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQ3Nk-0004pw-Db for emacs-orgmode@gnu.org; Mon, 23 Feb 2015 19:29:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YQ3Nf-0002FS-Hy for emacs-orgmode@gnu.org; Mon, 23 Feb 2015 19:29:48 -0500 Received: from msg.wmi.amu.edu.pl ([2001:808:114:2::50]:43553) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQ3Nf-0002Ea-C4 for emacs-orgmode@gnu.org; Mon, 23 Feb 2015 19:29:43 -0500 Received: from localhost (localhost [127.0.0.1]) by msg.wmi.amu.edu.pl (Postfix) with ESMTP id BE582571EF for ; Tue, 24 Feb 2015 01:29:40 +0100 (CET) Received: from msg.wmi.amu.edu.pl ([127.0.0.1]) by localhost (msg.wmi.amu.edu.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WdUUpn8T0+kD for ; Tue, 24 Feb 2015 01:29:40 +0100 (CET) Received: from localhost (117-116.echostar.pl [213.156.117.116]) by msg.wmi.amu.edu.pl (Postfix) with ESMTPSA id 8B445571DD for ; Tue, 24 Feb 2015 01:29:39 +0100 (CET) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org-Mode mailing list Hi all, so I have this: [[file:whatever.org][Some link]] How do I extract bith parts of this link programmatically? My use case is that I have an Org tree of links, and I want to export them to certain XML format. TIA, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University