[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: XML parser with DOM-like API
- From: Florian Weimer <fw@...>
- Date: Mon, 10 Oct 2011 07:46:38 +0200
* 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).