[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] JSON - The Fat Free Alternative - Redux
- From: Michael Kay <mike@saxonica.com>
- To: Dimitre Novatchev <dnovatchev@gmail.com>
- Date: Fri, 3 Oct 2014 10:51:13 +0100
>
>
> So, what about using XSLT 3.0 native capabilities for processing JSON:
>
> http://www.w3.org/TR/2014/WD-xslt-30-20141002/#json
>
> BTW, Congratulations for the XSLT WG for rolling out a 2nd Last Call
> draft today!
>
One of the interesting possibilities is to implement json-to-xml() by creating an optimized tree structure as the representation of the resulting XDM instance. I can imagine this being quite efficient compared with a general-purpose XDM implementation, for example because the @key attribute values are known to be unique. (The current Saxon implementation, however, creates a general-purpose tree.)
Michael Kay
Saxonica
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]