C#C
C#2y ago
Hlen_42

Help to convert .xml

I created a program that tries to modify the structure of a long xml. according to a short one and the result should be like this:
<SHOP>
<SHOPITEM>
<VAT>21</VAT>
</SHOPITEM>
<SHOPITEM>
<VAT>21</VAT>
</SHOPITEM>
<SHOPITEM>
<VAT>21</VAT>
</SHOPITEM>
<CODE>KT1</CODE>
<CODE>KT3</CODE>
<CODE>GXLP011</CODE>
</SHOP>

Unfortunately, it doesn't convert correctly. Do you know where the error is and how can I fix it?
Was this page helpful?