From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aaron Ecay Subject: Re: XML dump of org file? Date: Thu, 22 Sep 2016 17:07:04 +0100 Message-ID: <87twd7q5p3.fsf@gmail.com> References: <87d1jw7weu.fsf@nwalsh.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40015) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn6Xk-00049d-5Q for emacs-orgmode@gnu.org; Thu, 22 Sep 2016 12:08:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bn6Xf-0004v8-2L for emacs-orgmode@gnu.org; Thu, 22 Sep 2016 12:08:11 -0400 Received: from mail-wm0-f52.google.com ([74.125.82.52]:36472) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn6Xe-0004uy-Si for emacs-orgmode@gnu.org; Thu, 22 Sep 2016 12:08:06 -0400 Received: by mail-wm0-f52.google.com with SMTP id w84so261588040wmg.1 for ; Thu, 22 Sep 2016 09:08:06 -0700 (PDT) In-Reply-To: <87d1jw7weu.fsf@nwalsh.com> 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: Norman Walsh , emacs-orgmode@gnu.org 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 =E2=80=98org-element-parse-buffer=E2=80=99). You=E2=80=99ll need = to convert the sexps to XML, but that=E2=80=99s a comparatively minor task. HTH, --=20 Aaron Ecay