[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XSLT functions for JSON

Subject: Re: XSLT functions for JSON
From: Liam Quin <liam@xxxxxx>
Date: Mon, 19 May 2008 00:21:49 -0400
Re:  XSLT functions for JSON
On Sun, May 18, 2008 at 12:55:42PM -0600, M. David Peterson wrote:
> On Sun, 18 May 2008 12:47:12 -0600, Robert Koberg <rob@xxxxxxxxxx> wrote:
> 
> >Again, the best that could be done is to follow the rules laid out by
> >org.json
> 
> Right, but is the conversion itself even necessary to be enabled to  
> traverse the array/sequence via XPath 2.0/XSLT 2.0?

In principle, an XPath 2.0 implementation (including XQuery or
XSLT) could present a JSON file as an instance of the XPath etc etc
Data Model and it could be queried directly.

I don't know if there are systems that do this in practice;
it doesn't sound terribly useful to me, since I see JSON as for
Web server -> Web Browser communication over HTTP, primarily for
use with JavaScript, and if you wanted interoperability with
XSLT you'd send XML instead.

Liam

-- 
Liam Quin, W3C XML Activity Lead, http://www.w3.org/People/Quin/
http://www.holoweb.net/~liam/ * http://www.fromoldbooks.org/

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.