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! > Sam Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University