Marcin Borkowski <mb...@wmi.amu.edu.pl> writes:

> On 2015-02-24, at 21:50, Samuel W. Flint <swfl...@flintfam.org> wrote:
>
>> Marcin Borkowski <mb...@wmi.amu.edu.pl> 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.
>
> That's exactly what I'm writing.  It just hadn't occured to me to use
> the parsed version in the element tree – I just concentrated on
> exporting the headlines (which contain the links).  Stupid me.  Thanks
> for this (obvious) tip!

You are welcome!  Glad I could help!

Sam

-- 
Samuel W. Flint
swfl...@flintfam.org                  (402) 517-8468      <XMPP>
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

Reply via email to