From mboxrd@z Thu Jan 1 00:00:00 1970 From: swflint@flintfam.org (Samuel W. Flint) Subject: Re: How to extract raw link and description from the "link" element? Date: Tue, 24 Feb 2015 14:50:03 -0600 Message-ID: <87h9ubt4p0.fsf@turing.flintfam.org> References: <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]:36478) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQMQm-0006g9-Sa for emacs-orgmode@gnu.org; Tue, 24 Feb 2015 15:50:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YQMQj-0000g1-NG for emacs-orgmode@gnu.org; Tue, 24 Feb 2015 15:50:12 -0500 Received: from flintfam.org ([50.116.25.174]:52960 helo=mail.flintfam.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQMQj-0000fp-Iv for emacs-orgmode@gnu.org; Tue, 24 Feb 2015 15:50:09 -0500 In-Reply-To: <87ioesm9sh.fsf@wmi.amu.edu.pl> (Marcin Borkowski's message of "Tue, 24 Feb 2015 01:29:34 +0100") 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: Marcin Borkowski Cc: Org-Mode mailing list Marcin Borkowski writes: > 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, Have you considered a custom exporter? Just a little thought. Sam -- Samuel W. Flint swflint@flintfam.org (402) 517-8468 freenode: swflint http://flintfam.org/~swflint 4096R/266596F4 (9477 D23E 389E 40C5 2F10 DE19 68E5 318E 2665 96F4) "The most dangerous phrase in the language is, 'We've always done it this way'." -- Grace Hopper