lua-users home
lua-l archive

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


* Tarmo Pikaro:

> Why do you need XML ?

That's easy: Because the existing documents are written in XML.

> I would propose to use JSON if you're not bound to any existing XML
> file format nonsense.

For data, I tend to agree.  This is about text with markup.  Which
would you prefer?

  This is <b>bold</b> text.

Or:

  ["This is ", {"face": "bold", "body": ["bold"]}, " text."]

?

Eventually, I might migrate things to something like Markdown (however
Markdown itself is unlikely because its escaping rules are utterly
bizarre).