Subject: Re: [xsl] json to json transformation|
From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 15 Mar 2019 12:33:18 -0000
The order of keys in above JSON output is not same as the input JSON. In the JSON, I wanted fName and lName pair to be replaced by the 'name' key, and wished that order of keys in JSON was preserved.
I think, with XPath 3.1 maps the ordering of keys has no relevance, and from that point of view your XPath 3.1 map solution above is fine.