XML array handling
Last updated
Last updated
When you fetch XML responses using Data Fetcher, it converts XML into tabular data (fields and records) in two steps:
The package transforms XML to a JavaScript object.
This object is then converted into tabular data (fields and records) using the standard .
By default, XML child nodes are only treated as arrays when there are multiple nodes. Single nodes are treated as individual objects.
To treat all child nodes as arrays, even when there's only one:
Navigate to the request screen in Data Fetcher.
Scroll down to the bottom and click to open the Advanced settings.
Under XML Array Handling, toggle on Always put child nodes in array.