Why not just put all the data in a json variable c...
# suitescript
l
Why not just put all the data in a json variable convert to xml then stream the output?