Aaron of Montreal considers JSON:
I still don’t like JSON. It works and working code always win but its arrival as the next Best Thing Evar on the Intarweb only confirms that it’s a hack.
And like me, would like to see XPath in the browser.
“Coincidentally, I tend to think of XPath the same way its benefactors think of Perl: It makes easy things easy and hard things possible. XPath can be very complex if you are dealing with a complicated document (or fantastically stupid formats like Apple’s plist) but 90% of the time it’s really nothing more than specifying a simple set of parent-child relationships.”
There’s E4X, but it’s only in Firefox at the moment, and allows you to do JSON-like things with XML, but it doesn’t support XPath.
From the comments, I’m reminded that there is DOM3 support in Mozilla, so you can access things via XPath.
Possibly Related posts (machine generated):