On 08/06/10 15:29, Abdelrazak Younes wrote:
On 06/08/2010 03:27 PM, Vincent van Ravesteijn wrote:
What is the current status or thinking of the XML format for lyx 2?
Ideally, LyX 2 would have an XML file format. However, no-one is
actively working on the issue, so we postponed it.
As far as I know, we didn't really decide when and how to do the
transition.
I worked recently with JSon format (www.json.org), cleaner to the
human, faster to parse and less verbose than XML, quite nice...
Dunno about those claims:
https://www.p6r.com/articles/2008/11/02/xsloutput-methodjson/ shows some
pretty similar looking xml/json.
And Jason is a less rich and less mature standard.
XML easily supports embedding of other xml documents of which there are
many types.
https://www.p6r.com/articles/2010/04/05/xml-to-json-and-back/
xml lets me stick my svg directly in my lyx (if...) document.
In short xml makes use of lots of people spending thousands of hours on
getting it right. Html is nearly 20 years old now and SGML older than
that, with origins in document publishing.
json it a few less hours spent by people who (seem like they) are trying
to address a small problem related to exchange of small quantities of
short lived data.
I know which I prefer for documents!
Sam
--
*Sam's signature*