[Home] [By Thread] [By Date] [Recent Entries]

  • From: Michael Kay <mike@s...>
  • To: Dimitre Novatchev <dnovatchev@g...>
  • 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]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member