[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] suggestion: "native" orgmode XML export (and import?)

From: B Smith-Mannschott
Subject: Re: [Orgmode] suggestion: "native" orgmode XML export (and import?)
Date: Sun, 9 Aug 2009 15:19:13 +0200

On Sat, Aug 8, 2009 at 22:25, Ilya Shlyakhter<address@hidden> wrote:
>> In the meantime, it would be useful to describe what kind of XML output
>> do you want, because "XML" does not really describe anything per se.
> I'm looking for XML output that would closely mirror the logical
> structure of the org file, and that would contain all the information
> in the orgfile (since it's easy to ignore the parts you don't need
> during XML processing).  So, something like
> <orgfile>
>   <entry>
>      <headline>Tasks</headline>
>      <body>Here are the tasks I need to do</body>
>      <children>
>          <entry>
>             <headline>Buy bread</headline>
>             <todo-status>DONE</todo-status>
>             <tags><tag>food</tag><tag>errands</tag></tags>
>             <properties>
>                 <property><name>Importance</name><value>1</value></property>
> <property><name>Deadline</name><value><date><day>07</day><month>08</month><year>09</year></date></value></property>
>             </properties>
>           </entry>
>        </children>
>      </entry>
>   </orgfile>
> The details of the XML schema can of course change.   But it should
> let you process org file data without having to parse any elements of
> the org file (ideally, even dates) -- it would all be parsed by
> orgmode's native parsing code and put into XML elements.
> If there are questions about how to represent specific org elements in
> XML I can try to write a more detailed spec.

Out of curiosity, how would you want to handle textual content? Pass
it through unchanged with org's wiki-like markup in tact, or somehow

*foo* --> *foo*
*foo* --> <strong>foo</strong>

// Ben

reply via email to

[Prev in Thread] Current Thread [Next in Thread]