Re: [O] XML dump of org file?

2016-09-22 Thread Brett Viren
Aaron Ecay writes: > Have a look at the org-element library, Just to add, there are circular dependencies in this data structure due to ":parent" and potentially some of the ":structure" elements. They obviously need to be broken to avoid infinite loops. Here my hackish

Re: [O] XML dump of org file?

2016-09-22 Thread Aaron Ecay
Hi Norman, Have a look at the org-element library, which can produce an sexp representation of the structure of an org document. (In particular the function ‘org-element-parse-buffer’). You’ll need to convert the sexps to XML, but that’s a comparatively minor task. HTH, -- Aaron Ecay

[O] XML dump of org file?

2016-09-21 Thread Norman Walsh
Hi, There are various export filters, but I’d like one that just does a complete, raw dump of the internal memory structure[*]. I could start with something like the HTML export and work backwards to output other tag names, but it seems like it should be possible to just dump the data structure.