Transcription of Transforming JSON using XSLT
{{id}} {{{paragraph}}}
Transforming json using xslt . Michael xslt . and XPath . speciications, now at Candidate Recommen-dation status, introduces capabilities for importing and exporting json da-ta, either by converting it to XML, or by representing it natively using newdata structures: maps and arrays. The purpose of this paper is to explore theusability of these facilities for tackling some practical transformation representative transformation tasks are considered, and solutionsfor each are provided either by converting the json data to XML andtransforming that in the traditional way, or by Transforming the native rep-resentation of json as maps and exercise demonstrates that the absence of parent or ancestor axes inthe native representation of json means that the transformation task needsto be approached in a very diferent way.
This relies on the helper stylesheet, maps-and-arrays.xsl, containing default processing for maps and arrays that performs the equivalent of the traditional "identity template" called shallow-copy processing in XSLT . speciically, pro-
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}