OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] ten years later, time to repeat it?

On Mon, 2008-02-11 at 21:16 -0500, Simon St.Laurent wrote:
> 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/

Well, it isn't really the same. You can't go up or side ways. Also,
after a quick search it was the only project of its kind.

I created something that aids XPath. But I cheat and parse the JSON and
add parents and siblings to each object. 


> 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/

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS