# CSV Connector reports "Multi level XML file is not supported."

**URL:** <https://community.cdata.com/t/csv-connector-reports-multi-level-xml-file-is-not-supported/236>\
**Category:** CData Arc\
**Tags:** question, csv-connector\
**Created:** [July 5, 2023, 3:03pm UTC](https://community.cdata.com/t/csv-connector-reports-multi-level-xml-file-is-not-supported/236 "2023-07-05T15:03:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![russell-jerseypost](https://avatars.discourse-cdn.com/v4/letter/r/439d5e/32.png) [@russell-jerseypost](https://community.cdata.com/u/russell-jerseypost)\
**Post date:** [July 5, 2023, 3:03pm UTC](https://community.cdata.com/t/csv-connector-reports-multi-level-xml-file-is-not-supported/236/1 "2023-07-05T15:03:21Z")

</div>

I have an XML input of

```xml
<?xml version="1.0" encoding="UTF-8"?><rows xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <row> <DestCode>MET</DestCode> <DestName>Middle East</DestName> <Network>TD-PRIORITY</Network> <Format>P</Format> <LowerLimit>0 kg</LowerLimit> <UpperLimit>0.5 kg</UpperLimit> <ItemCount>19</ItemCount> <KiloCount>2.506</KiloCount> </row> <row> <DestCode>LTU</DestCode> <DestName>Lithuania</DestName> <Network>TD-PRIORITY</Network> <Format>P</Format> <LowerLimit>0 kg</LowerLimit> <UpperLimit>0.5 kg</UpperLimit> <ItemCount>3</ItemCount> <KiloCount>0.312</KiloCount> </row> ... <row> <DestCode>FET</DestCode> <DestName>Far East</DestName> <Network>TD-PRIORITY</Network> <Format>G</Format> <LowerLimit>0 kg</LowerLimit> <UpperLimit>0.1 kg</UpperLimit> <ItemCount>176</ItemCount> <KiloCount>2.335</KiloCount> </row></rows>

```

Which is not a multi-level XML and matches the example in the CSV COnnector’s documentation

So I’m not sure what I’m doing wrong.

I have checked the XML file for validity.

---

<div class="post-metadata">

**Author:** ![russell-jerseypost](https://avatars.discourse-cdn.com/v4/letter/r/439d5e/32.png) [@russell-jerseypost](https://community.cdata.com/u/russell-jerseypost)\
**Post date:** [July 5, 2023, 3:37pm UTC](https://community.cdata.com/t/csv-connector-reports-multi-level-xml-file-is-not-supported/236/2 "2023-07-05T15:37:17Z")

</div>

So, after some investigation it turns out it doesn’t like me using “rows” or “row” in my input XML.

I changed it to

```xml
<?xml version="1.0" encoding="UTF-8"?><Items xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <preadvice> <DestCode>MET</DestCode> <DestName>Middle East</DestName> <Network>TD-PRIORITY</Network> <Format>G</Format> <LowerLimit>0 kg</LowerLimit> <UpperLimit>0.5 kg</UpperLimit> <ItemCount>19</ItemCount> <KiloCount>2.506</KiloCount> </preadvice> <preadvice> <DestCode>LTU</DestCode>...

```

And it works!
