Customer requested a specific JSON output of XML input by a JSONiq transformation in this developerWorks DataPower forum thread::
Some posting replies finally led to complete, working dynamic solution.
See outputs, code listings and explanations in this last posting:
As said in that posting and in previous JSONiq postings in this blog, DataPower implements version 0.4.42 of JSONiq spec. For easy lookup, the spec can be found here:
Have fun with JSONiq where it fits your needs,