Please help me to parse my xml into csv with column names. I need c# code in order to achieve my task. Below is my xml content:
- xml version="1.0" encoding="UTF-8"?>
- <soap:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
- <soap:Body>
- <GetAccountsResponse xmlns="http://Weiland.Ba.retrieval/">
- <GetAccountsResult>
- <AccountRecords>3071AccountRecords>
- <Accounts>
- <Account>
- <AccountId>6AccountId>
- <AccountNumber>000091016138AccountNumber>
- <AccountTitle>3946231 Canada Inc.AccountTitle>
- <BankId>70BankId>
- <BankName>Royal Bank of CanadaBankName>
- <BankRtn>ROYCCAT2BankRtn>
- <BranchId xsi:nil="true"/>
- <CompanyId>86CompanyId>
- <CurrencyName>Canada, DollarCurrencyName>
- <CostCenter>4603CostCenter>
- <ActiveDate>1900-01-01T00:00:00ActiveDate>
- Account>
- Accounts>
- <AsOfDate>2019-10-31 06:04:36.059 -04:00AsOfDate>
- <BankRecords>0BankRecords>
- <CompanyRecords>0CompanyRecords>
- <ReturnCode>0ReturnCode>
- <Version>1.03Version>
- GetAccountsResult>
- GetAccountsResponse>
- soap:Body>
- soap:Envelope>
Kunjahamed PRank #5,790 · 286 reputationPosted Jan 28, 2020, 10:06 AM EST
Ashutosh GuptaRank #805 · 2.9K reputationPosted Jan 28, 2020, 6:13 PM EST
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts