I have written the query in xsjs.
Then i am getting this output in my controller.js
Then i am getting this data in my xml view
And the output that I am getting is