Robert Koberg wrote:
>> > <pointedTroll>
>> > Are you actually DEFENDING the Mixed Content model, Simon?
>> > </pointedTroll>
>>
>> It's the only place where I see XML as having a significant advantage
>> over JSON or YAML, so yes, I suppose that constitutes a defense.
>
> That, and having a traversable hierarchy.
JSON does have a traversable hierarchy - it's just normally cast as
objects rather than having a separate API for doing the traversal.
See, for one example:
http://goessner.net/articles/JsonPath/
If it wasn't for mixed content, I could probably live with JSON for the
rest of my XML needs.
Thanks,
Simon St.Laurent
Retired XML troublemaker
http://simonstl.com/