From mboxrd@z Thu Jan 1 00:00:00 1970 From: Norman Walsh Subject: XML dump of org file? Date: Wed, 21 Sep 2016 22:52:41 +0100 Message-ID: <87d1jw7weu.fsf@nwalsh.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42580) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmpRk-0005YN-E5 for emacs-orgmode@gnu.org; Wed, 21 Sep 2016 17:52:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmpRg-0003rE-7n for emacs-orgmode@gnu.org; Wed, 21 Sep 2016 17:52:51 -0400 Received: from outbound1f.eu.mailhop.org ([52.28.59.28]:26701) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmpRf-0003qW-Sb for emacs-orgmode@gnu.org; Wed, 21 Sep 2016 17:52:48 -0400 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" To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, There are various export filters, but I=E2=80=99d 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. My brief couple-of-hours foray into this was unsuccessful. I ran aground in various places where I couldn=E2=80=99t really grok the structure well enough to deduce what to output. And possibly where my elisp coding skills are a little weak. Before I spend another few evenings poking it with a sharp stick, does anyone have some code that walks the data structure in a way that will make it easier? (Or has someone else, *gasp*, solved this exact problem? :-)) Be seeing you, norm [*] I have really good XML tools for querying, transforming, and otherwise manipulating the data. I want to start with as near to perfect fidelity as I can. I don=E2=80=99t have any short term plans to try= to go the other way, but I might eventually. =2D-=20 Norman Walsh | When we are tired, we are attacked by http://nwalsh.com/ | ideas we conquered long ago.--Nietzsche --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iD8DBQFX4wEqOyltUcwYWjsRAnECAKCrxEP2NCHiqOjLgRXysg4E0hceeQCgmqWO 0NYeprYu2J07xfAPZUtqluU= =p6ru -----END PGP SIGNATURE----- --=-=-=--