What DataWeave expression transforms the array a to the XML output?
For such questions always look for Syntax:
I call it 'Wrap the Map'
trains:
{(
When mapping array elements (JSON or JAVA) to XML, wrap the map operations in {(..)}
-{ } are defining the object
-( ) are transforming each element in the array as a key/value pair
Currently there are no comments in this discussion, be the first to comment!