Export org-mode document structure to XML