I am having an issue creating an array in XML where the array is one of elements rather than primatives.
The expected XML is:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<orderdetails>
.....
<products>
<artnr>05633310000</artnr>
<artnr>05633310000</artnr>
</products>
</orderdetails>
The incorrect XML produced is:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<orderdetails>
<products>
<artnr>05633310000</artnr>
</products>
<products>
<artnr>05633310000</artnr>
</products>
I have tried explicitArray: true but this does not help.
Could you assist in how to get 1 products element with multiple artnr entries?