4 ms·
We still need XSLT for JSON to complete the circle. Though it seems like XSLT should support JSON: https://www.w3.org/TR/xslt-30/#json https://www.w3.org/TR/x
by bufferoverflow 9y ago
We still need XSLT for JSON to complete the circle.
Though it seems like XSLT should support JSON:
https://www.w3.org/TR/xslt-30/#json https://www.w3.org/TR/xslt-30/#json
- coding123 9y agoI thought JavaScript was the xslt of json.
- c-smile 9y agoThere are plenty transformers already, for example: http://goessner.net/articles/jsont/ http://goessner.net/articles/jsont/
- avmich 9y agoXML Stylesheet Transformation, the language to describe transformations of XML documents into another XML documents. Isn't jq or JMESPath an example of such a language for transformations?
- bshacklett 9y agoNo, those are query languages akin to XPath.
- avmich 9y agoWhat's the difference between query and transformation then? Isn't transformation a (vector) function ^f of input ^x, with n dimensions of x and m dimensions of f where f_i = f_i(x_1, ... x_n)?
- Thiez 9y agoXPath can be used in Xslt, but not the other way round. In Xslt you can create new elements, while in XPath you can't. Seems like a pretty big difference to me. XPath isn't Turing complete either, while Xslt is.
- murukesh_s 9y agoWorking on that, was thinking of naming it JST.. building it as part of a high level programming platform we are building.. will be open sourced once complete.