Hi,
I have below excel records and i want convert this records into define xml format :-
Input Data :-
| CustomerId | AccountNumber | CustomerBankIdentification | Type | OpneingDate |
| 1 | 101 | ID001 | Savings | 8/1/2019 |
| 1 | 102 | ID001 | Current | 8/23/2019 |
| 1 | 103 | ID001 | Savings | 9/17/2019 |
| 2 | 201 | ID002 | Savings | 1/4/2020 |
| 2 | 202 | ID002 | Savings | 2/7/2020 |
| 3 | 301 | ID003 | Savings | 3/19/2021 |
| 3 | 302 | ID003 | Savings | 3/19/2021 |
| 3 | 303 | ID003 | Savings | 3/19/2021 |
| 3 | 304 | ID003 | Savings | 3/19/2021 |
Expected output :
<Customer CustomerId="1" CustomerBankIdentification = "ID001">
<CustomerActions>
<AddAction>
<Accounts>
<Account AccountNumber = "101">
<Type>"Savings"</Type>
<OpneingDate>2019-08-01</OpneingDate>
</Account>
<Account AccountNumber = "102">
<Type>"Current"</Type>
<OpneingDate>2019-08-23</OpneingDate>
</Account>
<Account AccountNumber = "103">
<Type>"Current"</Type>
<OpneingDate>2019-07-17</OpneingDate>
</Account>
</Accounts>
</AddAction>
</CustomerActions>
</Customer>
<Customer CustomerId="2" CustomerBankIdentification = "ID002">
<CustomerActions>
<AddAction>
<Accounts>
<Account AccountNumber = "201">
<Type>"Savings"</Type>
<OpneingDate>2020-01-04</OpneingDate>
</Account>
<Account AccountNumber = "202">
<Type>"Current"</Type>
<OpneingDate>2019-02-07</OpneingDate>
</Account>
</Accounts>
</AddAction>
<CustomerActions>
</Customer>
Please assist me how i can create above xml format using alteryx