How do I create an XML array?

Hi,
Is there an equivalent of JSON array for XML output?

The JSON output is correct
[{
“names”: [
{
“first_name”: “Teresa”,
“last_name”: “Stewart”
},
{
“first_name”: “Irene”,
“last_name”: “Nelson”
}
]
}]

But when I change it to XML I get

<?xml version='1.0' encoding='UTF-8'?> [{"first_name":"Terry","last_name":"Duncan"},{"first_name":"Jack","last_name":"Burke"}]

Thanks

There isn’t at the moment. I’ll probably change JSON Array to just “Array” in the near future and make it work for both JSON and XML.

Thanks for the quick reply, I’ll use a workaround then

I just ran into this exact requirement wanting to generate invoice lines for an invoice.

Would help a lot if the feature support XML

Perry